home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.5 for Developers
/
QuickTime 1.5 for Developers.iso
/
Goodies
/
CD ROM Simulator
/
Simulate CDROM 1.5
/
Simulate CDROM 1.5.rsrc
/
CODE_2.txt
< prev
next >
Wrap
Text File
|
1992-10-15
|
311KB
|
5,663 lines
# near model CODE resource
# jump table entries: 80-107 (28 of them)
fn00000000:
00000000 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000004 6B22 bmi +0x24 /* 00000028 */
00000006 303C 0090 move.w D0, 0x90
0000000A A346 syscall GetOSTrapAddress, flags=3
0000000C 2248 movea.l A1, A0
0000000E 303C 009F move.w D0, 0x9F
00000012 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000014 B3C8 cmpa.l A1, A0
00000016 6710 beq +0x12 /* 00000028 */
00000018 225F movea.l A1, [A7]+
0000001A 205F movea.l A0, [A7]+
0000001C 301F move.w D0, [A7]+
0000001E 2F09 move.l -[A7], A1
00000020 A090 syscall SysEnvirons
00000022 3F40 0004 move.w [A7 + 0x4], D0
00000026 4E75 rts
label00000028:
00000028 206F 0004 movea.l A0, [A7 + 0x4]
0000002C 303C 0001 move.w D0, 0x1
00000030 2248 movea.l A1, A0
00000032 6006 bra +0x8 /* 0000003A */
00000034 0313 btst [A3], D1
00000036 0B02 btst D2, D5
00000038 0100 btst D0, D0
label0000003A:
0000003A 303C 0010 move.w D0, 0x10
0000003E E240 asr D0.w, 1
00000040 5340 subq.w D0, 1
label00000042:
00000042 4258 clr.w [A0]+
00000044 51C8 FFFC dbf D0, -0x6 /* 00000042 */
00000048 32BC 0001 move.w [A1], 0x1
0000004C 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
00000050 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
00000056 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
0000005C 6742 beq +0x44 /* 000000A0 */
0000005E 4A28 0008 tst.b [A0 + 0x8]
00000062 6E20 bgt +0x22 /* 00000084 */
00000064 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
0000006A 4A78 028E tst.w [0x0000028E /* ROM85 */]
0000006E 6B30 bmi +0x32 /* 000000A0 */
00000070 337C 0001 0002 move.w [A1 + 0x2], 0x1
00000076 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
0000007A 6A24 bpl +0x26 /* 000000A0 */
0000007C 337C 0002 0002 move.w [A1 + 0x2], 0x2
00000082 601C bra +0x1E /* 000000A0 */
label00000084:
00000084 4269 0002 clr.w [A1 + 0x2]
00000088 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
0000008E 6E10 bgt +0x12 /* 000000A0 */
00000090 6708 beq +0xA /* 0000009A */
00000092 337C 0004 0002 move.w [A1 + 0x2], 0x4
00000098 6006 bra +0x8 /* 000000A0 */
label0000009A:
0000009A 337C 0003 0002 move.w [A1 + 0x2], 0x3
label000000A0:
000000A0 4269 0004 clr.w [A1 + 0x4]
000000A4 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
000000AA 6E0A bgt +0xC /* 000000B6 */
000000AC 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
000000B0 5240 addq.w D0, 1
000000B2 1340 0007 move.b [A1 + 0x7], D0
label000000B6:
000000B6 4A78 028E tst.w [0x0000028E /* ROM85 */]
000000BA 6B0E bmi +0x10 /* 000000CA */
000000BC 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
000000C2 6706 beq +0x8 /* 000000CA */
000000C4 137C 0001 0008 move.b [A1 + 0x8], 0x1
label000000CA:
000000CA 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
000000D0 6206 bhi +0x8 /* 000000D8 */
000000D2 137C 0001 0009 move.b [A1 + 0x9], 0x1
label000000D8:
000000D8 1038 021E move.b D0, [0x0000021E /* KbdType */]
000000DC 41FA FF5B lea.l A0, [PC - 0xA5 /* 00000039, value 0x303C00 '0<\0', cstring "" */]
000000E0 323C 0004 move.w D1, 0x4
label000000E4:
000000E4 B020 cmp.b D0, -[A0]
000000E6 57C9 FFFC dbeq D1, -0x6 /* 000000E4 */
000000EA 5241 addq.w D1, 1
000000EC 3341 000A move.w [A1 + 0xA], D1
000000F0 4A38 0291 tst.b [0x00000291 /* PortBUse */]
000000F4 6B18 bmi +0x1A /* 0000010E */
000000F6 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
000000FA 0201 000F andi.b D1, 0xF
000000FE 0C01 0001 cmpi.b D1, 0x1
00000102 660A bne +0xC /* 0000010E */
00000104 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00000108 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label0000010E:
0000010E 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
00000114 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
00000118 6D44 blt +0x46 /* 0000015E */
0000011A 4269 000E clr.w [A1 + 0xE]
0000011E 323C 003C move.w D1, 0x3C /* '<' */
label00000122:
00000122 4267 clr.w -[A7]
00000124 51C9 FFFC dbf D1, -0x6 /* 00000122 */
00000128 204F movea.l A0, A7
0000012A 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
00000130 7008 moveq.l D0, 0x08
00000132 A260 syscall FSDispatch/HFSDispatch, flags=2
00000134 6624 bne +0x26 /* 0000015A */
00000136 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
0000013C A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
0000013E 661A bne +0x1C /* 0000015A */
00000140 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
00000146 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
0000014E 7001 moveq.l D0, 0x01
00000150 A260 syscall FSDispatch/HFSDispatch, flags=2
00000152 6606 bne +0x8 /* 0000015A */
00000154 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label0000015A:
0000015A 4FEF 007A lea.l A7, [A7 + 0x7A]
label0000015E:
0000015E 2049 movea.l A0, A1
00000160 225F movea.l A1, [A7]+
00000162 5C4F addq.w A7, 6
00000164 3EBC EA84 move.w [A7], 0xEA84
00000168 4ED1 jmp [A1]
export_25:
fn0000016A:
0000016A 4E56 0000 link A6, 0
0000016E 203C 0000 A89F move.l D0, 0xA89F
00000174 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000176 2F08 move.l -[A7], A0
00000178 203C 0000 A0AD move.l D0, 0xA0AD
0000017E A346 syscall GetOSTrapAddress, flags=3
00000180 B1DF cmpa.l A0, [A7]+
00000182 670E beq +0x10 /* 00000192 */
00000184 202E 000C move.l D0, [A6 + 0xC]
00000188 A1AD syscall Gestalt, flags=1
0000018A 226E 0008 movea.l A1, [A6 + 0x8]
0000018E 2288 move.l [A1], A0
00000190 6026 bra +0x28 /* 000001B8 */
label00000192:
00000192 41FA 0036 lea.l A0, [PC + 0x36 /* 000001CA, value 0x76657273 'vers', cstring "vers" */]
00000196 303C EA51 move.w D0, 0xEA51
0000019A 222E 000C move.l D1, [A6 + 0xC]
label0000019E:
0000019E B298 cmp.l D1, [A0]+
000001A0 6706 beq +0x8 /* 000001A8 */
000001A2 4A98 tst.l [A0]+
000001A4 6712 beq +0x14 /* 000001B8 */
000001A6 60F6 bra -0x8 /* 0000019E */
label000001A8:
000001A8 43FA 0020 lea.l A1, [PC + 0x20 /* 000001CA, value 0x76657273 'vers', cstring "vers" */]
000001AC D3D0 add.l A1, [A0]
000001AE 4ED1 jmp [A1]
label000001B0:
000001B0 226E 0008 movea.l A1, [A6 + 0x8]
000001B4 2280 move.l [A1], D0
000001B6 4240 clr.w D0
label000001B8:
000001B8 3D40 0010 move.w [A6 + 0x10], D0
000001BC 4E5E unlink A6
000001BE 205F movea.l A0, [A7]+
000001C0 508F addq.l A7, 8
000001C2 4ED0 jmp [A0]
label000001C4:
000001C4 303C EA52 move.w D0, 0xEA52
000001C8 60EE bra -0x10 /* 000001B8 */
000001CA 7665 moveq.l D3, 0x65
000001CC 7273 moveq.l D1, 0x73
000001CE 0000 0060 ori.b D0, 0x60 /* '`' */
000001D2 6D61 blt +0x63 /* 00000235 */
000001D4 6368 bls +0x6A /* 0000023E */
000001D6 0000 0064 ori.b D0, 0x64 /* 'd' */
000001DA 7379 moveq.l D1, 0x79
000001DC 7376 moveq.l D1, 0x76
000001DE 0000 0088 ori.b D0, 0x88
000001E2 7072 moveq.l D0, 0x72
000001E4 6F63 ble +0x65 /* 00000249 */
000001E6 0000 0092 ori.b D0, 0x92
000001EA 6670 bne +0x72 /* 0000025C */
000001EC 7520 moveq.l D2, 0x20
000001EE 0000 009E ori.b D0, 0x9E
000001F2 7164 moveq.l D0, 0x64
000001F4 2020 move.l D0, -[A0]
000001F6 0000 00E8 ori.b D0, 0xE8
000001FA 6B62 bmi +0x64 /* 0000025E */
000001FC 6420 bcc +0x22 /* 0000021E */
000001FE 0000 011A ori.b D0, 0x1A
00000202 6174 bsr +0x76 /* 00000278 */
00000204 6C6B bge +0x6D /* 00000271 */
00000206 0000 0142 ori.b D0, 0x42 /* 'B' */
0000020A 6D6D blt +0x6F /* 00000279 */
0000020C 7520 moveq.l D2, 0x20
0000020E 0000 0164 ori.b D0, 0x64 /* 'd' */
00000212 7261 moveq.l D1, 0x61
00000214 6D20 blt +0x22 /* 00000236 */
00000216 0000 0188 ori.b D0, 0x88
0000021A 6C72 bge +0x74 /* 0000028E */
0000021C 616D bsr +0x6F /* 0000028B */
label0000021E:
0000021E 0000 0188 ori.b D0, 0x88
00000222 0000 0000 ori.b D0, 0x0
00000226 0000 0000 ori.b D0, 0x0
0000022A 7001 moveq.l D0, 0x01
0000022C 6082 bra -0x7C /* 000001B0 */
0000022E 2278 02AE movea.l A1, [0x000002AE /* ROMBase */]
00000232 7004 moveq.l D0, 0x04
00000234 0C69 0075 0008 cmpi.w [A1 + 0x8], 0x75 /* 'u' */
// begin alternate branch 00000236-00000244
label00000236:
00000236 0075 0008 6712 0C69 ori.w [[A5 + D6 * 8] + 0xC69], 0x8
label0000023E:
0000023E 0276 0008 6604 andi.w [A6 + D6.w * 8 + 0x4], 0x8
// end alternate branch 00000236-00000244
label00000236: // (misaligned)
0000023A 6712 beq +0x14 /* 0000024E */
0000023C 0C69 0276 0008 cmpi.w [A1 + 0x8], 0x276
label0000023E: // (misaligned)
00000242 6604 bne +0x6 /* 00000248 */
00000244 5240 addq.w D0, 1
00000246 6006 bra +0x8 /* 0000024E */
label00000248:
00000248 1038 0CB3 move.b D0, [0x00000CB3 /* MMUFluff/MachineType */]
0000024C 5C80 addq.l D0, 6
label0000024E:
0000024E 6000 FF60 bra -0x9E /* 000001B0 */
00000252 7000 moveq.l D0, 0x00
00000254 3038 015A move.w D0, [0x0000015A /* SysVersion */]
00000258 6000 FF56 bra -0xA8 /* 000001B0 */
label0000025C:
0000025C 7000 moveq.l D0, 0x00
label0000025E:
0000025E 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
00000262 5240 addq.w D0, 1
00000264 6000 FF4A bra -0xB4 /* 000001B0 */
00000268 0C38 0004 012F cmpi.b [0x0000012F /* CPUFlag */], 0x4
0000026E 6738 beq +0x3A /* 000002A8 */
00000270 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
00000276 6734 beq +0x36 /* 000002AC */
fn00000278:
00000278 204F movea.l A0, A7
0000027A F280 0000 fnop
0000027E F327 .extension 0x327 <<F/4-5/1>> // unimplemented
00000280 3017 move.w D0, [A7]
00000282 2E48 movea.l A7, A0
00000284 0C40 1F18 cmpi.w D0, 0x1F18
00000288 6716 beq +0x18 /* 000002A0 */
0000028A 0C40 3F18 cmpi.w D0, 0x3F18
label0000028E:
0000028E 6710 beq +0x12 /* 000002A0 */
00000290 0C40 3F38 cmpi.w D0, 0x3F38 /* '?8' */
00000294 670E beq +0x10 /* 000002A4 */
00000296 0C40 1F38 cmpi.w D0, 0x1F38
0000029A 6708 beq +0xA /* 000002A4 */
0000029C 7000 moveq.l D0, 0x00
0000029E 600E bra +0x10 /* 000002AE */
label000002A0:
000002A0 7001 moveq.l D0, 0x01
000002A2 600A bra +0xC /* 000002AE */
label000002A4:
000002A4 7002 moveq.l D0, 0x02
000002A6 6006 bra +0x8 /* 000002AE */
label000002A8:
000002A8 7003 moveq.l D0, 0x03
000002AA 6002 bra +0x4 /* 000002AE */
label000002AC:
000002AC 7000 moveq.l D0, 0x00
label000002AE:
000002AE 6000 FF00 bra -0xFE /* 000001B0 */
000002B2 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
000002B8 6E1C bgt +0x1E /* 000002D6 */
000002BA 303C A89F move.w D0, 0xA89F
000002BE A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000002C0 2408 move.l D2, A0
000002C2 203C 0000 AB03 move.l D0, 0xAB03
000002C8 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
000002CA 203C 0000 0100 move.l D0, 0x100
000002D0 B488 cmp.l D2, A0
000002D2 6606 bne +0x8 /* 000002DA */
000002D4 600A bra +0xC /* 000002E0 */
label000002D6:
000002D6 7000 moveq.l D0, 0x00
000002D8 6006 bra +0x8 /* 000002E0 */
label000002DA:
000002DA 203C 0000 0200 move.l D0, 0x200
label000002E0:
000002E0 6000 FECE bra -0x130 /* 000001B0 */
000002E4 1038 021E move.b D0, [0x0000021E /* KbdType */]
000002E8 41FA 0016 lea.l A0, [PC + 0x16 /* 00000300, value 0x3130B02 */]
000002EC 2248 movea.l A1, A0
label000002EE:
000002EE 1218 move.b D1, [A0]+
000002F0 6700 FED2 beq -0x12C /* 000001C4 */
000002F4 B200 cmp.b D1, D0
000002F6 66F6 bne -0x8 /* 000002EE */
000002F8 91C9 sub.l A0, A1
000002FA 2008 move.l D0, A0
000002FC 6000 FEB2 bra -0x14C /* 000001B0 */
00000300 0313 btst [A3], D1
00000302 0B02 btst D2, D5
00000304 0106 btst D6, D0
00000306 0704 btst D4, D3
00000308 0508 btst A0, D2
0000030A 0900 btst D0, D4
0000030C 7000 moveq.l D0, 0x00
0000030E 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00000312 6B16 bmi +0x18 /* 0000032A */
00000314 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00000318 0201 000F andi.b D1, 0xF
0000031C 0C01 0001 cmpi.b D1, 0x1
00000320 6608 bne +0xA /* 0000032A */
00000322 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00000326 1028 0007 move.b D0, [A0 + 0x7]
label0000032A:
0000032A 6000 FE84 bra -0x17A /* 000001B0 */
0000032E 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00000334 6D16 blt +0x18 /* 0000034C */
00000336 7000 moveq.l D0, 0x00
00000338 1038 0CB1 move.b D0, [0x00000CB1 /* MMUType */]
0000033C 0C00 0001 cmpi.b D0, 0x1
00000340 670C beq +0xE /* 0000034E */
00000342 0C00 0003 cmpi.b D0, 0x3
00000346 6D04 blt +0x6 /* 0000034C */
00000348 5340 subq.w D0, 1
0000034A 6002 bra +0x4 /* 0000034E */
label0000034C:
0000034C 7000 moveq.l D0, 0x00
label0000034E:
0000034E 6000 FE60 bra -0x19E /* 000001B0 */
00000352 303C A89F move.w D0, 0xA89F
00000356 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000358 2408 move.l D2, A0
0000035A 203C 0000 A88F move.l D0, 0xA88F
00000360 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000362 2038 0108 move.l D0, [0x00000108 /* MemTop */]
00000366 B488 cmp.l D2, A0
00000368 670A beq +0xC /* 00000374 */
0000036A 598F subq.l A7, 4
0000036C 3F3C 0016 move.w -[A7], 0x16
00000370 A88F syscall OSDispatch
00000372 201F move.l D0, [A7]+
label00000374:
00000374 6000 FE3A bra -0x1C4 /* 000001B0 */
export_26:
00000378 225F movea.l A1, [A7]+
0000037A 205F movea.l A0, [A7]+
0000037C A025 syscall GetHandleSize
0000037E 2E80 move.l [A7], D0
00000380 6A02 bpl +0x4 /* 00000384 */
00000382 4297 clr.l [A7]
label00000384:
00000384 4ED1 jmp [A1]
fn00000386:
00000386 225F movea.l A1, [A7]+
00000388 121F move.b D1, [A7]+
0000038A 301F move.w D0, [A7]+
0000038C 4A01 tst.b D1
0000038E 6704 beq +0x6 /* 00000394 */
00000390 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000392 6002 bra +0x4 /* 00000396 */
label00000394:
00000394 A346 syscall GetOSTrapAddress, flags=3
label00000396:
00000396 2E88 move.l [A7], A0
00000398 4ED1 jmp [A1]
export_27:
0000039A 205F movea.l A0, [A7]+
0000039C 301F move.w D0, [A7]+
0000039E 4297 clr.l [A7]
000003A0 4640 not.w D0
000003A2 B078 01D2 cmp.w D0, [0x000001D2 /* UnitNtryCnt */]
000003A6 640A bcc +0xC /* 000003B2 */
000003A8 E548 lsl D0.w, 2
000003AA 2278 011C movea.l A1, [0x0000011C /* UTableBase */]
000003AE 2EB1 0000 move.l [A7], [A1 + D0.w]
label000003B2:
000003B2 4ED0 jmp [A0]
export_28:
000003B4 225F movea.l A1, [A7]+
000003B6 101F move.b D0, [A7]+
000003B8 205F movea.l A0, [A7]+
000003BA 6604 bne +0x6 /* 000003C0 */
000003BC A002 syscall Read
000003BE 6002 bra +0x4 /* 000003C2 */
label000003C0:
000003C0 A402 syscall Read, flags=4
label000003C2:
000003C2 3E80 move.w [A7], D0
000003C4 4ED1 jmp [A1]
export_29:
000003C6 225F movea.l A1, [A7]+
000003C8 101F move.b D0, [A7]+
000003CA 205F movea.l A0, [A7]+
000003CC 6604 bne +0x6 /* 000003D2 */
000003CE A004 syscall Control
000003D0 6002 bra +0x4 /* 000003D4 */
label000003D2:
000003D2 A404 syscall Control, flags=4
label000003D4:
000003D4 3E80 move.w [A7], D0
000003D6 4ED1 jmp [A1]
export_30:
000003D8 225F movea.l A1, [A7]+
000003DA 101F move.b D0, [A7]+
000003DC 205F movea.l A0, [A7]+
000003DE 6604 bne +0x6 /* 000003E4 */
000003E0 A005 syscall Status
000003E2 6002 bra +0x4 /* 000003E6 */
label000003E4:
000003E4 A405 syscall Status, flags=4
label000003E6:
000003E6 3E80 move.w [A7], D0
000003E8 4ED1 jmp [A1]
export_31:
fn000003EA:
000003EA 4E56 FFCE link A6, -0x0032
000003EE 204F movea.l A0, A7
000003F0 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
000003F6 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
000003FC 4228 001A clr.b [A0 + 0x1A]
00000400 4228 001B clr.b [A0 + 0x1B]
00000404 42A8 001C clr.l [A0 + 0x1C]
00000408 701A moveq.l D0, 0x1A
0000040A A060 syscall FSDispatch/HFSDispatch
0000040C 0C40 FFCE cmpi.w D0, 0xFFCE
00000410 6602 bne +0x4 /* 00000414 */
00000412 A000 syscall Open/PBHOpen/HOpen
label00000414:
00000414 226E 0008 movea.l A1, [A6 + 0x8]
00000418 32A8 0018 move.w [A1], [A0 + 0x18]
0000041C 3D40 0012 move.w [A6 + 0x12], D0
00000420 4E5E unlink A6
00000422 205F movea.l A0, [A7]+
00000424 4FEF 000A lea.l A7, [A7 + 0xA]
00000428 4ED0 jmp [A0]
export_32:
fn0000042A:
0000042A 4E56 FFCE link A6, -0x0032
0000042E 204F movea.l A0, A7
00000430 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00000436 A001 syscall Close
00000438 3D40 000A move.w [A6 + 0xA], D0
0000043C 4E5E unlink A6
0000043E 205F movea.l A0, [A7]+
00000440 548F addq.l A7, 2
00000442 4ED0 jmp [A0]
fn00000444:
00000444 51C1 sf D1
00000446 6002 bra +0x4 /* 0000044A */
fn00000448:
00000448 50C1 st D1
label0000044A:
0000044A 4E56 FFCE link A6, -0x0032
0000044E 204F movea.l A0, A7
00000450 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00000456 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
0000045C 226E 000C movea.l A1, [A6 + 0xC]
00000460 2151 0024 move.l [A0 + 0x24], [A1]
00000464 4268 002C clr.w [A0 + 0x2C]
00000468 42A8 002E clr.l [A0 + 0x2E]
0000046C 4A01 tst.b D1
0000046E 6604 bne +0x6 /* 00000474 */
00000470 A002 syscall Read
00000472 6002 bra +0x4 /* 00000476 */
label00000474:
00000474 A003 syscall Write
label00000476:
00000476 3D40 0012 move.w [A6 + 0x12], D0
0000047A 226E 000C movea.l A1, [A6 + 0xC]
0000047E 22A8 0028 move.l [A1], [A0 + 0x28]
00000482 4E5E unlink A6
00000484 225F movea.l A1, [A7]+
00000486 4FEF 000A lea.l A7, [A7 + 0xA]
0000048A 4ED1 jmp [A1]
export_33:
0000048C 4E56 FFC0 link A6, -0x0040
00000490 204F movea.l A0, A7
00000492 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000498 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
0000049E A015 syscall SetVol/PBHSetVol/HSetVol
000004A0 3D40 000E move.w [A6 + 0xE], D0
000004A4 4E5E unlink A6
000004A6 225F movea.l A1, [A7]+
000004A8 5C8F addq.l A7, 6
000004AA 4ED1 jmp [A1]
fn000004AC:
000004AC 4E56 FFB0 link A6, -0x0050
000004B0 204F movea.l A0, A7
000004B2 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
000004B8 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
000004BE 4228 001A clr.b [A0 + 0x1A]
000004C2 A008 syscall Create/PBHCreate/HCreate
000004C4 6616 bne +0x18 /* 000004DC */
000004C6 4268 001C clr.w [A0 + 0x1C]
000004CA A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000004CC 660E bne +0x10 /* 000004DC */
000004CE 43E8 0020 lea.l A1, [A0 + 0x20]
000004D2 22EE 0008 move.l [A1]+, [A6 + 0x8]
000004D6 22AE 000C move.l [A1], [A6 + 0xC]
000004DA A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label000004DC:
000004DC 3D40 0016 move.w [A6 + 0x16], D0
000004E0 4E5E unlink A6
000004E2 225F movea.l A1, [A7]+
000004E4 4FEF 000E lea.l A7, [A7 + 0xE]
000004E8 4ED1 jmp [A1]
export_34:
fn000004EA:
000004EA 4E56 FFCE link A6, -0x0032
000004EE 204F movea.l A0, A7
000004F0 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
000004F6 A011 syscall GetEOF
000004F8 3D40 000E move.w [A6 + 0xE], D0
000004FC 226E 0008 movea.l A1, [A6 + 0x8]
00000500 22A8 001C move.l [A1], [A0 + 0x1C]
00000504 4E5E unlink A6
00000506 225F movea.l A1, [A7]+
00000508 5C8F addq.l A7, 6
0000050A 4ED1 jmp [A1]
fn0000050C:
0000050C 4E56 FFCE link A6, -0x0032
00000510 204F movea.l A0, A7
00000512 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00000518 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
0000051E A012 syscall SetEOF
00000520 3D40 000E move.w [A6 + 0xE], D0
00000524 4E5E unlink A6
00000526 225F movea.l A1, [A7]+
00000528 5C8F addq.l A7, 6
0000052A 4ED1 jmp [A1]
export_35:
fn0000052C:
0000052C 4E56 FFCE link A6, -0x0032
00000530 204F movea.l A0, A7
00000532 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00000538 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
0000053E 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00000544 A044 syscall SetFPos
00000546 3D40 0010 move.w [A6 + 0x10], D0
0000054A 4E5E unlink A6
0000054C 225F movea.l A1, [A7]+
0000054E 508F addq.l A7, 8
00000550 4ED1 jmp [A1]
export_36:
00000552 A162 syscall PurgeSpace, flags=1
00000554 226F 0004 movea.l A1, [A7 + 0x4]
00000558 2288 move.l [A1], A0
0000055A 226F 0008 movea.l A1, [A7 + 0x8]
0000055E 2280 move.l [A1], D0
00000560 225F movea.l A1, [A7]+
00000562 504F addq.w A7, 8
00000564 4ED1 jmp [A1]
00000566 7402 moveq.l D2, 0x02
label00000568:
00000568 205F movea.l A0, [A7]+
0000056A 3F02 move.w -[A7], D2
0000056C 2F08 move.l -[A7], A0
0000056E ADE9 syscall Pack2, auto_pop
fn00000570:
00000570 7400 moveq.l D2, 0x00
00000572 4EFA FFF4 jmp [PC - 0xC /* 00000568 */]
export_37:
00000576 206F 0004 movea.l A0, [A7 + 0x4]
0000057A 202F 0008 move.l D0, [A7 + 0x8]
0000057E 4267 clr.w -[A7]
00000580 A9EE syscall Pack7/DecStr68K
00000582 205F movea.l A0, [A7]+
00000584 504F addq.w A7, 8
00000586 4ED0 jmp [A0]
fn00000588:
00000588 6118 bsr +0x1A /* 000005A2 */
0000058A A9DB syscall TEPaste
label0000058C:
0000058C 2E9F move.l [A7], [A7]+
0000058E 4E75 rts
fn00000590:
00000590 6110 bsr +0x12 /* 000005A2 */
00000592 A9D6 syscall TECut
00000594 60F6 bra -0x8 /* 0000058C */
fn00000596:
00000596 610A bsr +0xC /* 000005A2 */
00000598 A9D5 syscall TECopy
0000059A 60F0 bra -0xE /* 0000058C */
0000059C 6104 bsr +0x6 /* 000005A2 */
0000059E A9D7 syscall TEDelete
000005A0 60EA bra -0x14 /* 0000058C */
fn000005A2:
000005A2 206F 0008 movea.l A0, [A7 + 0x8]
000005A6 4A68 00A4 tst.w [A0 + 0xA4]
000005AA 6B08 bmi +0xA /* 000005B4 */
000005AC 225F movea.l A1, [A7]+
000005AE 2F28 00A0 move.l -[A7], [A0 + 0xA0]
000005B2 4ED1 jmp [A1]
label000005B4:
000005B4 4CDF 0301 movem.l D0,A0,A1, [A7]+
000005B8 4ED0 jmp [A0]
fn000005BA:
000005BA 4E56 0000 link A6, 0
000005BE 594F subq.w A7, 4
000005C0 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
000005C6 3F2E 000A move.w -[A7], [A6 + 0xA]
000005CA A9A0 syscall GetResource
000005CC 226E 000C movea.l A1, [A6 + 0xC]
000005D0 4211 clr.b [A1]
000005D2 201F move.l D0, [A7]+
000005D4 6722 beq +0x24 /* 000005F8 */
000005D6 2040 movea.l A0, D0
000005D8 2050 movea.l A0, [A0]
000005DA 3018 move.w D0, [A0]+
000005DC 322E 0008 move.w D1, [A6 + 0x8]
000005E0 6716 beq +0x18 /* 000005F8 */
000005E2 B240 cmp.w D1, D0
000005E4 6212 bhi +0x14 /* 000005F8 */
000005E6 7000 moveq.l D0, 0x00
label000005E8:
000005E8 5341 subq.w D1, 1
000005EA 6706 beq +0x8 /* 000005F2 */
000005EC 1018 move.b D0, [A0]+
000005EE D1C0 add.l A0, D0
000005F0 60F6 bra -0x8 /* 000005E8 */
label000005F2:
000005F2 1010 move.b D0, [A0]
000005F4 5240 addq.w D0, 1
000005F6 A02E syscall BlockMove/BlockMoveData
label000005F8:
000005F8 4E5E unlink A6
000005FA 205F movea.l A0, [A7]+
000005FC 508F addq.l A7, 8
000005FE 4ED0 jmp [A0]
fn00000600:
00000600 4E56 FF7C link A6, -0x0084
00000604 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000608 266E 0008 movea.l A3, [A6 + 0x8]
0000060C 286E 000C movea.l A4, [A6 + 0xC]
00000610 3A2E 0016 move.w D5, [A6 + 0x16]
00000614 2C2E 0012 move.l D6, [A6 + 0x12]
00000618 4204 clr.b D4
0000061A 558F subq.l A7, 2
0000061C 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
00000622 486E FF7C pea.l [A6 - 0x84]
00000626 4EBA FB42 jsr [PC - 0x4BE /* 0000016A */]
0000062A 3E1F move.w D7, [A7]+
0000062C 660C bne +0xE /* 0000063A */
0000062E 202E FF7C move.l D0, [A6 - 0x84]
00000632 0800 0000 btst.b D0, 0x0
00000636 6702 beq +0x4 /* 0000063A */
00000638 7801 moveq.l D4, 0x01
label0000063A:
0000063A 4A04 tst.b D4
0000063C 671A beq +0x1C /* 00000658 */
0000063E 558F subq.l A7, 2
00000640 3F05 move.w -[A7], D5
00000642 2F06 move.l -[A7], D6
00000644 1F2E 0010 move.b -[A7], [A6 + 0x10]
00000648 2F0C move.l -[A7], A4
0000064A 2F0B move.l -[A7], A3
0000064C 7000 moveq.l D0, 0x00
0000064E A823 syscall AliasDispatch
00000650 3D5F 0018 move.w [A6 + 0x18], [A7]+
00000654 6000 00E4 bra +0xE6 /* 0000073A */
label00000658:
00000658 0C86 6D61 6373 cmpi.l D6, 0x6D616373 /* 'macs' */
0000065E 6742 beq +0x44 /* 000006A2 */
00000660 0C86 7465 6D70 cmpi.l D6, 0x74656D70 /* 'temp' */
00000666 673A beq +0x3C /* 000006A2 */
00000668 0C86 7072 6566 cmpi.l D6, 0x70726566 /* 'pref' */
0000066E 6732 beq +0x34 /* 000006A2 */
00000670 0C86 6578 746E cmpi.l D6, 0x6578746E /* 'extn' */
00000676 672A beq +0x2C /* 000006A2 */
00000678 0C86 6374 726C cmpi.l D6, 0x6374726C /* 'ctrl' */
0000067E 6722 beq +0x24 /* 000006A2 */
00000680 0C86 616D 6E75 cmpi.l D6, 0x616D6E75 /* 'amnu' */
00000686 671A beq +0x1C /* 000006A2 */
00000688 0C86 7374 7274 cmpi.l D6, 0x73747274 /* 'strt' */
0000068E 6712 beq +0x14 /* 000006A2 */
00000690 0C86 7072 6E74 cmpi.l D6, 0x70726E74 /* 'prnt' */
00000696 670A beq +0xC /* 000006A2 */
00000698 3D7C FFCE 0018 move.w [A6 + 0x18], 0xFFCE
0000069E 6000 009A bra +0x9C /* 0000073A */
label000006A2:
000006A2 7000 moveq.l D0, 0x00
000006A4 2D40 FF92 move.l [A6 - 0x6E], D0
000006A8 0C45 8000 cmpi.w D5, 0x8000
000006AC 6624 bne +0x26 /* 000006D2 */
000006AE 3D78 0A58 FF98 move.w [A6 - 0x68], [0x00000A58 /* SysMap */]
000006B4 426E FF9C clr.w [A6 - 0x64]
000006B8 7002 moveq.l D0, 0x02
000006BA 2D40 FFBA move.l [A6 - 0x46], D0
000006BE 41EE FF80 lea.l A0, [A6 - 0x80]
000006C2 7008 moveq.l D0, 0x08
000006C4 A260 syscall FSDispatch/HFSDispatch, flags=2
000006C6 3E00 move.w D7, D0
000006C8 666C bne +0x6E /* 00000736 */
000006CA 3D6E FFB4 FF96 move.w [A6 - 0x6A], [A6 - 0x4C]
000006D0 6004 bra +0x6 /* 000006D6 */
label000006D2:
000006D2 3D45 FF96 move.w [A6 - 0x6A], D5
label000006D6:
000006D6 7006 moveq.l D0, 0x06
000006D8 2D40 FFA4 move.l [A6 - 0x5C], D0
000006DC 41EE FFFA lea.l A0, [A6 - 0x6]
000006E0 2D48 FFA0 move.l [A6 - 0x60], A0
000006E4 41EE FF80 lea.l A0, [A6 - 0x80]
000006E8 7030 moveq.l D0, 0x30
000006EA A260 syscall FSDispatch/HFSDispatch, flags=2
000006EC 3E00 move.w D7, D0
000006EE 0C47 FFCE cmpi.w D7, 0xFFCE
000006F2 6710 beq +0x12 /* 00000704 */
000006F4 4A47 tst.w D7
000006F6 6638 bne +0x3A /* 00000730 */
000006F8 203C 0002 0000 move.l D0, 0x20000
000006FE C0AE FFFC and.l D0, [A6 - 0x4]
00000702 672C beq +0x2E /* 00000730 */
label00000704:
00000704 426E FF9C clr.w [A6 - 0x64]
00000708 7000 moveq.l D0, 0x00
0000070A 2D40 FFDA move.l [A6 - 0x26], D0
0000070E 2D40 FFB0 move.l [A6 - 0x50], D0
00000712 41EE FF80 lea.l A0, [A6 - 0x80]
00000716 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00000718 3E00 move.w D7, D0
0000071A 661A bne +0x1C /* 00000736 */
0000071C 4AAE FFDA tst.l [A6 - 0x26]
00000720 670A beq +0xC /* 0000072C */
00000722 38AE FF96 move.w [A4], [A6 - 0x6A]
00000726 26AE FFDA move.l [A3], [A6 - 0x26]
0000072A 600A bra +0xC /* 00000736 */
label0000072C:
0000072C 7ED5 moveq.l D7, 0xFFFFFFD5
0000072E 6006 bra +0x8 /* 00000736 */
label00000730:
00000730 4A47 tst.w D7
00000732 6602 bne +0x4 /* 00000736 */
00000734 7ED5 moveq.l D7, 0xFFFFFFD5
label00000736:
00000736 3D47 0018 move.w [A6 + 0x18], D7
label0000073A:
0000073A 4CEE 18F0 FF64 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x9C]
00000740 4E5E unlink A6
00000742 205F movea.l A0, [A7]+
00000744 4FEF 0010 lea.l A7, [A7 + 0x10]
00000748 4ED0 jmp [A0]
0000074A 8A46 or.w D5, D6
0000074C 494E chk.w D4, A6
0000074E 4446 neg.w D6
00000750 4F4C chk.w D7, A4
00000752 4445 neg.w D5
00000754 5200 addq.b D0, 1
00000756 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000758-0000075C
fn00000758:
00000758 4E56 FFEC link A6, -0x0014
// end alternate branch 00000758-0000075C
fn00000758: // (misaligned)
0000075A FFEC .invalid <<F/7/7>>
0000075C 48E7 0300 movem.l -[A7], D6,D7
00000760 426D E73A clr.w [A5 - 0x18C6]
00000764 426D E73C clr.w [A5 - 0x18C4]
00000768 426D E73E clr.w [A5 - 0x18C2]
0000076C 3B7C FFFF E740 move.w [A5 - 0x18C0], 0xFFFF
00000772 3B7C FFFF E742 move.w [A5 - 0x18BE], 0xFFFF
00000778 3B7C FFFF E744 move.w [A5 - 0x18BC], 0xFFFF
0000077E 422D E730 clr.b [A5 - 0x18D0]
00000782 422D E731 clr.b [A5 - 0x18CF]
00000786 422D EA02 clr.b [A5 - 0x15FE]
0000078A 422D EA03 clr.b [A5 - 0x15FD]
0000078E 422D EA04 clr.b [A5 - 0x15FC]
00000792 422D EA0B clr.b [A5 - 0x15F5]
00000796 422D EA08 clr.b [A5 - 0x15F8]
0000079A 422D EA09 clr.b [A5 - 0x15F7]
0000079E 422D EA0A clr.b [A5 - 0x15F6]
000007A2 1B7C 0001 E733 move.b [A5 - 0x18CD], 0x1
000007A8 4267 clr.w -[A7]
000007AA 3F3C 0001 move.w -[A7], 0x1
000007AE 486E FFF0 pea.l [A6 - 0x10]
000007B2 4EBA F84C jsr [PC - 0x7B4 /* 00000000 */]
000007B6 3E1F move.w D7, [A7]+
000007B8 4A6E FFF2 tst.w [A6 - 0xE]
000007BC 6C06 bge +0x8 /* 000007C4 */
000007BE 7C00 moveq.l D6, 0x00
000007C0 6000 0108 bra +0x10A /* 000008CA */
label000007C4:
000007C4 2F3C A860 0001 move.l -[A7], 0xA8600001
000007CA 4EBA 102A jsr [PC + 0x102A /* 000017F6 */]
000007CE 1C00 move.b D6, D0
000007D0 1B6E FFF9 E730 move.b [A5 - 0x18D0], [A6 - 0x7]
000007D6 1B6E FFF8 E731 move.b [A5 - 0x18CF], [A6 - 0x8]
000007DC 2EBC A1AD 0001 move.l [A7], 0xA1AD0001
000007E2 4EBA 1012 jsr [PC + 0x1012 /* 000017F6 */]
000007E6 1B40 EA0B move.b [A5 - 0x15F5], D0
000007EA 4A00 tst.b D0
000007EC 588F addq.l A7, 4
000007EE 6700 00DA beq +0xDC /* 000008CA */
000007F2 4267 clr.w -[A7]
000007F4 2F3C 616C 6973 move.l -[A7], 0x616C6973 /* 'alis' */
000007FA 486E FFEC pea.l [A6 - 0x14]
000007FE 4EBA F96A jsr [PC - 0x696 /* 0000016A */]
00000802 3E1F move.w D7, [A7]+
00000804 4A47 tst.w D7
00000806 660E bne +0x10 /* 00000816 */
00000808 082E 0000 FFEF btst.b [A6 - 0x11], 0x0
0000080E 6706 beq +0x8 /* 00000816 */
00000810 1B7C 0001 EA03 move.b [A5 - 0x15FD], 0x1
label00000816:
00000816 4267 clr.w -[A7]
00000818 2F3C 6564 746E move.l -[A7], 0x6564746E /* 'edtn' */
0000081E 486E FFEC pea.l [A6 - 0x14]
00000822 4EBA F946 jsr [PC - 0x6BA /* 0000016A */]
00000826 3E1F move.w D7, [A7]+
00000828 4A47 tst.w D7
0000082A 660E bne +0x10 /* 0000083A */
0000082C 082E 0000 FFEF btst.b [A6 - 0x11], 0x0
00000832 6706 beq +0x8 /* 0000083A */
00000834 1B7C 0001 EA04 move.b [A5 - 0x15FC], 0x1
label0000083A:
0000083A 4267 clr.w -[A7]
0000083C 2F3C 6576 6E74 move.l -[A7], 0x65766E74 /* 'evnt' */
00000842 486E FFEC pea.l [A6 - 0x14]
00000846 4EBA F922 jsr [PC - 0x6DE /* 0000016A */]
0000084A 3E1F move.w D7, [A7]+
0000084C 4A47 tst.w D7
0000084E 660E bne +0x10 /* 0000085E */
00000850 082E 0000 FFEF btst.b [A6 - 0x11], 0x0
00000856 6706 beq +0x8 /* 0000085E */
00000858 1B7C 0001 EA02 move.b [A5 - 0x15FE], 0x1
label0000085E:
0000085E 4267 clr.w -[A7]
00000860 2F3C 7070 6320 move.l -[A7], 0x70706320 /* 'ppc ' */
00000866 486E FFEC pea.l [A6 - 0x14]
0000086A 4EBA F8FE jsr [PC - 0x702 /* 0000016A */]
0000086E 3E1F move.w D7, [A7]+
00000870 4A47 tst.w D7
00000872 660E bne +0x10 /* 00000882 */
00000874 082E 0000 FFEF btst.b [A6 - 0x11], 0x0
0000087A 6706 beq +0x8 /* 00000882 */
0000087C 1B7C 0001 EA09 move.b [A5 - 0x15F7], 0x1
label00000882:
00000882 4267 clr.w -[A7]
00000884 2F3C 7164 2020 move.l -[A7], 0x71642020 /* 'qd ' */
0000088A 486E FFEC pea.l [A6 - 0x14]
0000088E 4EBA F8DA jsr [PC - 0x726 /* 0000016A */]
00000892 3E1F move.w D7, [A7]+
00000894 4A47 tst.w D7
00000896 660E bne +0x10 /* 000008A6 */
00000898 082E 0001 FFEE btst.b [A6 - 0x12], 0x1
0000089E 6706 beq +0x8 /* 000008A6 */
000008A0 1B7C 0001 EA0A move.b [A5 - 0x15F6], 0x1
label000008A6:
000008A6 4267 clr.w -[A7]
000008A8 2F3C 7374 6466 move.l -[A7], 0x73746466 /* 'stdf' */
000008AE 486E FFEC pea.l [A6 - 0x14]
000008B2 4EBA F8B6 jsr [PC - 0x74A /* 0000016A */]
000008B6 3E1F move.w D7, [A7]+
000008B8 4A47 tst.w D7
000008BA 660E bne +0x10 /* 000008CA */
000008BC 082E 0000 FFEF btst.b [A6 - 0x11], 0x0
000008C2 6706 beq +0x8 /* 000008CA */
000008C4 1B7C 0001 EA08 move.b [A5 - 0x15F8], 0x1
label000008CA:
000008CA 1006 move.b D0, D6
000008CC 4CDF 00C0 movem.l D6,D7, [A7]+
000008D0 4E5E unlink A6
000008D2 4E75 rts
000008D4 9249 sub.w D1, A1
000008D6 7357 moveq.l D1, 0x57
000008D8 4E45 trap 5
000008DA 4973 496D chk.w D4, <<invalid full ext with IS == 1 and I/IS == 5>>
000008DE 706C moveq.l D0, 0x6C
000008E0 656D bcs +0x6F /* 0000094F */
000008E2 656E bcs +0x70 /* 00000952 */
000008E4 7465 moveq.l D2, 0x65
000008E6 6400 0000 bcc +0x2 /* 000008E8 */
// begin alternate branch 000008E8-000008EE
label000008E8:
000008E8 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000008EA: // (misaligned)
000008EC FFEC .invalid <<F/7/7>>
// end alternate branch 000008E8-000008EE
label000008E8: // (misaligned)
fn000008EA:
000008EA 4E56 FFEC link A6, -0x0014
000008EE 486E FFEC pea.l [A6 - 0x14]
000008F2 4EBA 0F46 jsr [PC + 0xF46 /* 0000183A */]
000008F6 4A6E FFEC tst.w [A6 - 0x14]
000008FA 588F addq.l A7, 4
000008FC 6700 00AC beq +0xAE /* 000009AA */
00000900 302E FFEC move.w D0, [A6 - 0x14]
00000904 6700 009A beq +0x9C /* 000009A0 */
00000908 6B00 0096 bmi +0x98 /* 000009A0 */
0000090C 5540 subq.w D0, 2
0000090E 6744 beq +0x46 /* 00000954 */
00000910 6A00 008E bpl +0x90 /* 000009A0 */
00000914 302E FFEE move.w D0, [A6 - 0x12]
00000918 0440 0100 subi.w D0, 0x100
0000091C 0C40 0008 cmpi.w D0, 0x8
00000920 6200 0088 bhi +0x8A /* 000009AA */
00000924 43FA 009C lea.l A1, [PC + 0x9C /* 000009C2, value 0xFF6EFFE8 */]
00000928 D040 add.w D0, D0
0000092A D2F1 0000 add.w A1, [A1 + D0.w]
0000092E 4ED1 jmp [A1]
00000930 4EBA 16DC jsr [PC + 0x16DC /* 0000200E */]
00000934 6074 bra +0x76 /* 000009AA */
00000936 4EBA 1DE4 jsr [PC + 0x1DE4 /* 0000271C */]
0000093A 606E bra +0x70 /* 000009AA */
0000093C 4EBA 2368 jsr [PC + 0x2368 /* 00002CA6 */]
00000940 6068 bra +0x6A /* 000009AA */
00000942 4EBA 08A4 jsr [PC + 0x8A4 /* 000011E8 */]
00000946 6062 bra +0x64 /* 000009AA */
00000948 4EBA 265E jsr [PC + 0x265E /* 00002FA8 */]
0000094C 605C bra +0x5E /* 000009AA */
0000094E 4EBA 2B00 jsr [PC + 0x2B00 /* 00003450 */]
label00000952:
00000952 6056 bra +0x58 /* 000009AA */
label00000954:
00000954 302E FFEE move.w D0, [A6 - 0x12]
00000958 6B50 bmi +0x52 /* 000009AA */
0000095A 0440 0107 subi.w D0, 0x107
0000095E 671C beq +0x1E /* 0000097C */
00000960 6A08 bpl +0xA /* 0000096A */
00000962 5440 addq.w D0, 2
00000964 672E beq +0x30 /* 00000994 */
00000966 6A08 bpl +0xA /* 00000970 */
00000968 6040 bra +0x42 /* 000009AA */
label0000096A:
0000096A 5540 subq.w D0, 2
0000096C 6A3C bpl +0x3E /* 000009AA */
0000096E 6018 bra +0x1A /* 00000988 */
label00000970:
00000970 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
00000974 4EBA 1B42 jsr [PC + 0x1B42 /* 000024B8 */]
00000978 588F addq.l A7, 4
0000097A 602E bra +0x30 /* 000009AA */
label0000097C:
0000097C 2F2D EA7E move.l -[A7], [A5 - 0x1582]
00000980 4EBA 21E6 jsr [PC + 0x21E6 /* 00002B68 */]
00000984 588F addq.l A7, 4
00000986 6022 bra +0x24 /* 000009AA */
label00000988:
00000988 2F2D EA82 move.l -[A7], [A5 - 0x157E]
0000098C 4EBA 24E2 jsr [PC + 0x24E2 /* 00002E70 */]
00000990 588F addq.l A7, 4
00000992 6016 bra +0x18 /* 000009AA */
label00000994:
00000994 2F2D EA86 move.l -[A7], [A5 - 0x157A]
00000998 4EBA 2842 jsr [PC + 0x2842 /* 000031DC */]
0000099C 588F addq.l A7, 4
0000099E 600A bra +0xC /* 000009AA */
label000009A0:
000009A0 486E FFEC pea.l [A6 - 0x14]
000009A4 4EAD 026A jsr [A5 + 0x26A /* export_73 */]
000009A8 588F addq.l A7, 4
label000009AA:
000009AA 4E5E unlink A6
000009AC 4E75 rts
000009AE 9148 subx.w -[A0], -[A0]
000009B0 616E bsr +0x70 /* 00000A20 */
000009B2 646C bcc +0x6E /* 00000A20 */
000009B4 655F bcs +0x61 /* 00000A15 */
000009B6 5573 6572 5F45 7665 6E74 subq.w [[A3 + 0x5F457665] + 0x6E74], 2
000009C0 0012 FF6E ori.b [A2], 0x6E /* 'n' */
000009C4 FFE8 .invalid <<F/7/7>>
000009C6 FFE8 .invalid <<F/7/7>>
000009C8 FFE8 .invalid <<F/7/7>>
000009CA FF80 .invalid <<F/6/7>>
000009CC FF8C .invalid <<F/6/7>>
000009CE FF74 .extension 0xF74 <<F/4-5/7>> // unimplemented
000009D0 FF7A .extension 0xF7A <<F/4-5/7>> // unimplemented
000009D2 FF86 .invalid <<F/6/7>>
fn000009D4:
000009D4 48E7 1F00 movem.l -[A7], D3,D4,D5,D6,D7
000009D8 486D E60E pea.l [A5 - 0x19F2]
000009DC 4EAD 021A jsr [A5 + 0x21A /* export_63 */]
000009E0 4A00 tst.b D0
000009E2 588F addq.l A7, 4
000009E4 6700 009E beq +0xA0 /* 00000A84 */
000009E8 3E2D E612 move.w D7, [A5 - 0x19EE]
000009EC 0247 00FF andi.w D7, 0xFF
000009F0 1C07 move.b D6, D7
000009F2 082D 0000 E61C btst.b [A5 - 0x19E4], 0x0
000009F8 6778 beq +0x7A /* 00000A72 */
000009FA 4EAD 0252 jsr [A5 + 0x252 /* export_70 */]
000009FE 42A7 clr.l -[A7]
00000A00 1006 move.b D0, D6
00000A02 4880 ext.w D0
00000A04 3F00 move.w -[A7], D0
00000A06 A93E syscall MenuKey
00000A08 2A1F move.l D5, [A7]+
00000A0A 4267 clr.w -[A7]
00000A0C 2F05 move.l -[A7], D5
00000A0E A86A syscall HiWord
00000A10 381F move.w D4, [A7]+
00000A12 4267 clr.w -[A7]
00000A14 2F05 move.l -[A7], D5
00000A16 A86B syscall LoWord
00000A18 361F move.w D3, [A7]+
00000A1A 4A44 tst.w D4
00000A1C 670A beq +0xC /* 00000A28 */
00000A1E 3F03 move.w -[A7], D3
fn00000A20:
00000A20 3F04 move.w -[A7], D4
00000A22 4EBA 1984 jsr [PC + 0x1984 /* 000023A8 */]
00000A26 588F addq.l A7, 4
label00000A28:
00000A28 0C06 0078 cmpi.b D6, 0x78 /* 'x' */
00000A2C 6706 beq +0x8 /* 00000A34 */
00000A2E 0C06 0058 cmpi.b D6, 0x58 /* 'X' */
00000A32 660C bne +0xE /* 00000A40 */
label00000A34:
00000A34 4AAD E624 tst.l [A5 - 0x19DC]
00000A38 6706 beq +0x8 /* 00000A40 */
00000A3A 2F2D E624 move.l -[A7], [A5 - 0x19DC]
00000A3E A9D6 syscall TECut
label00000A40:
00000A40 0C06 0063 cmpi.b D6, 0x63 /* 'c' */
00000A44 6706 beq +0x8 /* 00000A4C */
00000A46 0C06 0043 cmpi.b D6, 0x43 /* 'C' */
00000A4A 660C bne +0xE /* 00000A58 */
label00000A4C:
00000A4C 4AAD E624 tst.l [A5 - 0x19DC]
00000A50 6706 beq +0x8 /* 00000A58 */
00000A52 2F2D E624 move.l -[A7], [A5 - 0x19DC]
00000A56 A9D5 syscall TECopy
label00000A58:
00000A58 0C06 0076 cmpi.b D6, 0x76 /* 'v' */
00000A5C 6706 beq +0x8 /* 00000A64 */
00000A5E 0C06 0056 cmpi.b D6, 0x56 /* 'V' */
00000A62 6620 bne +0x22 /* 00000A84 */
label00000A64:
00000A64 4AAD E624 tst.l [A5 - 0x19DC]
00000A68 671A beq +0x1C /* 00000A84 */
00000A6A 2F2D E624 move.l -[A7], [A5 - 0x19DC]
00000A6E A9DB syscall TEPaste
00000A70 6012 bra +0x14 /* 00000A84 */
label00000A72:
00000A72 4AAD E624 tst.l [A5 - 0x19DC]
00000A76 670C beq +0xE /* 00000A84 */
00000A78 1006 move.b D0, D6
00000A7A 4880 ext.w D0
00000A7C 3F00 move.w -[A7], D0
00000A7E 2F2D E624 move.l -[A7], [A5 - 0x19DC]
00000A82 A9DC syscall TEKey
label00000A84:
00000A84 4CDF 00F8 movem.l D3,D4,D5,D6,D7, [A7]+
00000A88 4E75 rts
fn00000A8A:
00000A8A 4E56 FFFE link A6, -0x0002
00000A8E 486D E60E pea.l [A5 - 0x19F2]
00000A92 4EAD 0222 jsr [A5 + 0x222 /* export_64 */]
00000A96 4A00 tst.b D0
00000A98 588F addq.l A7, 4
00000A9A 674C beq +0x4E /* 00000AE8 */
00000A9C 4267 clr.w -[A7]
00000A9E 2F2D E610 move.l -[A7], [A5 - 0x19F0]
00000AA2 A86A syscall HiWord
00000AA4 4A5F tst.w [A7]+
00000AA6 6740 beq +0x42 /* 00000AE8 */
00000AA8 302D E576 move.w D0, [A5 - 0x1A8A]
00000AAC 906D E572 sub.w D0, [A5 - 0x1A8E]
00000AB0 48C0 ext.l D0
00000AB2 81FC 0002 divs.w D0, 0x2
00000AB6 0640 FF68 addi.w D0, 0xFF68
00000ABA 3B40 E61A move.w [A5 - 0x19E6], D0
00000ABE 302D E574 move.w D0, [A5 - 0x1A8C]
00000AC2 906D E570 sub.w D0, [A5 - 0x1A90]
00000AC6 48C0 ext.l D0
00000AC8 81FC 0003 divs.w D0, 0x3
00000ACC 0640 FFCC addi.w D0, 0xFFCC
00000AD0 3B40 E618 move.w [A5 - 0x19E8], D0
00000AD4 A850 syscall InitCursor
00000AD6 4267 clr.w -[A7]
00000AD8 2F2D E618 move.l -[A7], [A5 - 0x19E8]
00000ADC 2F2D E610 move.l -[A7], [A5 - 0x19F0]
00000AE0 4EBA FA8E jsr [PC - 0x572 /* 00000570 */]
00000AE4 3D5F FFFE move.w [A6 - 0x2], [A7]+
label00000AE8:
00000AE8 4E5E unlink A6
00000AEA 4E75 rts
00000AEC 8B44 6F44 pack D5, D4, 0x6F44
00000AF0 6973 bvs +0x75 /* 00000B65 */
00000AF2 6B45 bmi +0x47 /* 00000B39 */
00000AF4 7665 moveq.l D3, 0x65
00000AF6 6E74 bgt +0x76 /* 00000B6C */
00000AF8 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000AFA-00000AFE
fn00000AFA:
00000AFA 4E56 FFE8 link A6, -0x0018
// end alternate branch 00000AFA-00000AFE
fn00000AFA: // (misaligned)
00000AFC FFE8 .invalid <<F/7/7>>
00000AFE 48E7 0108 movem.l -[A7], D7,A4
00000B02 286E 0008 movea.l A4, [A6 + 0x8]
00000B06 200C move.l D0, A4
00000B08 6700 010A beq +0x10C /* 00000C14 */
00000B0C 2F0C move.l -[A7], A4
00000B0E A873 syscall SetPort
00000B10 2D6D E618 FFF4 move.l [A6 - 0xC], [A5 - 0x19E8]
00000B16 486E FFF4 pea.l [A6 - 0xC]
00000B1A A871 syscall GlobalToLocal
00000B1C 2D6C 0010 FFF8 move.l [A6 - 0x8], [A4 + 0x10]
00000B22 2D6C 0014 FFFC move.l [A6 - 0x4], [A4 + 0x14]
00000B28 486E FFEC pea.l [A6 - 0x14]
00000B2C 2F3C 0004 0004 move.l -[A7], 0x40004
00000B32 302D E576 move.w D0, [A5 - 0x1A8A]
00000B36 906D E572 sub.w D0, [A5 - 0x1A8E]
00000B3A 5940 subq.w D0, 4
00000B3C 3F00 move.w -[A7], D0
00000B3E 302D E574 move.w D0, [A5 - 0x1A8C]
00000B42 906D E570 sub.w D0, [A5 - 0x1A90]
00000B46 5940 subq.w D0, 4
00000B48 3F00 move.w -[A7], D0
00000B4A A8A7 syscall SetRect
00000B4C 42A7 clr.l -[A7]
00000B4E 2F0C move.l -[A7], A4
00000B50 2F2D E618 move.l -[A7], [A5 - 0x19E8]
00000B54 486E FFEC pea.l [A6 - 0x14]
00000B58 A92B syscall GrowWindow
00000B5A 2E1F move.l D7, [A7]+
00000B5C 2F0C move.l -[A7], A4
00000B5E 4267 clr.w -[A7]
00000B60 2F07 move.l -[A7], D7
00000B62 A86B syscall LoWord
00000B64 4267 clr.w -[A7]
00000B66 2F07 move.l -[A7], D7
00000B68 A86A syscall HiWord
00000B6A 1F3C 0001 move.b -[A7], 0x1
// begin alternate branch 00000B6C-00000B70
label00000B6C:
00000B6C 0001 A91D ori.b D1, 0x1D
// end alternate branch 00000B6C-00000B70
label00000B6C: // (misaligned)
00000B6E A91D syscall SizeWindow
00000B70 2F0C move.l -[A7], A4
00000B72 A873 syscall SetPort
00000B74 302C 0016 move.w D0, [A4 + 0x16]
00000B78 906C 0012 sub.w D0, [A4 + 0x12]
00000B7C 3D40 FFF6 move.w [A6 - 0xA], D0
00000B80 302C 0014 move.w D0, [A4 + 0x14]
00000B84 906C 0010 sub.w D0, [A4 + 0x10]
00000B88 3D40 FFF4 move.w [A6 - 0xC], D0
00000B8C 486E FFEC pea.l [A6 - 0x14]
00000B90 4267 clr.w -[A7]
00000B92 70F1 moveq.l D0, 0xFFFFFFF1
00000B94 D06E FFF4 add.w D0, [A6 - 0xC]
00000B98 3F00 move.w -[A7], D0
00000B9A 700F moveq.l D0, 0x0F
00000B9C D06E FFF6 add.w D0, [A6 - 0xA]
00000BA0 3F00 move.w -[A7], D0
00000BA2 700F moveq.l D0, 0x0F
00000BA4 D06E FFF4 add.w D0, [A6 - 0xC]
00000BA8 3F00 move.w -[A7], D0
00000BAA A8A7 syscall SetRect
00000BAC 486E FFEC pea.l [A6 - 0x14]
00000BB0 A8A3 syscall EraseRect
00000BB2 486E FFEC pea.l [A6 - 0x14]
00000BB6 A928 syscall InvalRect
00000BB8 486E FFEC pea.l [A6 - 0x14]
00000BBC 70F1 moveq.l D0, 0xFFFFFFF1
00000BBE D06E FFF6 add.w D0, [A6 - 0xA]
00000BC2 3F00 move.w -[A7], D0
00000BC4 4267 clr.w -[A7]
00000BC6 700F moveq.l D0, 0x0F
00000BC8 D06E FFF6 add.w D0, [A6 - 0xA]
00000BCC 3F00 move.w -[A7], D0
00000BCE 700F moveq.l D0, 0x0F
00000BD0 D06E FFF4 add.w D0, [A6 - 0xC]
00000BD4 3F00 move.w -[A7], D0
00000BD6 A8A7 syscall SetRect
00000BD8 486E FFEC pea.l [A6 - 0x14]
00000BDC A8A3 syscall EraseRect
00000BDE 486E FFEC pea.l [A6 - 0x14]
00000BE2 A928 syscall InvalRect
00000BE4 486E FFEC pea.l [A6 - 0x14]
00000BE8 70F1 moveq.l D0, 0xFFFFFFF1
00000BEA D06E FFF6 add.w D0, [A6 - 0xA]
00000BEE 3F00 move.w -[A7], D0
00000BF0 4267 clr.w -[A7]
00000BF2 700F moveq.l D0, 0x0F
00000BF4 D06E FFF6 add.w D0, [A6 - 0xA]
00000BF8 3F00 move.w -[A7], D0
00000BFA 700F moveq.l D0, 0x0F
00000BFC D06E FFF4 add.w D0, [A6 - 0xC]
00000C00 3F00 move.w -[A7], D0
00000C02 A8A7 syscall SetRect
00000C04 486E FFEC pea.l [A6 - 0x14]
00000C08 A8A3 syscall EraseRect
00000C0A 486E FFEC pea.l [A6 - 0x14]
00000C0E A928 syscall InvalRect
00000C10 2F0C move.l -[A7], A4
00000C12 A904 syscall DrawGrowIcon
label00000C14:
00000C14 4CDF 1080 movem.l D7,A4, [A7]+
00000C18 4E5E unlink A6
00000C1A 4E75 rts
00000C1C 8644 or.w D3, D4
00000C1E 6F47 ble +0x49 /* 00000C67 */
00000C20 726F moveq.l D1, 0x6F
00000C22 7700 moveq.l D3, 0x00
00000C24 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000C26-00000C2A
fn00000C26:
00000C26 4E56 FFF0 link A6, -0x0010
// end alternate branch 00000C26-00000C2A
fn00000C26: // (misaligned)
00000C28 FFF0 .invalid <<F/7/7>>
00000C2A 48E7 0108 movem.l -[A7], D7,A4
00000C2E 286E 0008 movea.l A4, [A6 + 0x8]
00000C32 2D6C 0010 FFF8 move.l [A6 - 0x8], [A4 + 0x10]
00000C38 2D6C 0014 FFFC move.l [A6 - 0x4], [A4 + 0x14]
00000C3E 2D6D E570 FFF0 move.l [A6 - 0x10], [A5 - 0x1A90]
00000C44 2D6D E574 FFF4 move.l [A6 - 0xC], [A5 - 0x1A8C]
00000C4A 486E FFF0 pea.l [A6 - 0x10]
00000C4E 7004 moveq.l D0, 0x04
00000C50 D06E FFF2 add.w D0, [A6 - 0xE]
00000C54 3F00 move.w -[A7], D0
00000C56 7004 moveq.l D0, 0x04
00000C58 D06E FFF0 add.w D0, [A6 - 0x10]
00000C5C 3F00 move.w -[A7], D0
00000C5E 70FC moveq.l D0, 0xFFFFFFFC
00000C60 D06E FFF6 add.w D0, [A6 - 0xA]
00000C64 3F00 move.w -[A7], D0
00000C66 70FC moveq.l D0, 0xFFFFFFFC
00000C68 D06E FFF4 add.w D0, [A6 - 0xC]
00000C6C 3F00 move.w -[A7], D0
00000C6E A8A7 syscall SetRect
00000C70 2F0C move.l -[A7], A4
00000C72 2F2D E618 move.l -[A7], [A5 - 0x19E8]
00000C76 486E FFF0 pea.l [A6 - 0x10]
00000C7A A925 syscall DragWindow
00000C7C 42A7 clr.l -[A7]
00000C7E 2F0C move.l -[A7], A4
00000C80 A917 syscall GetWRefCon
00000C82 2E1F move.l D7, [A7]+
00000C84 2007 move.l D0, D7
00000C86 6B50 bmi +0x52 /* 00000CD8 */
00000C88 0480 0000 0107 subi.l D0, 0x107
00000C8E 671E beq +0x20 /* 00000CAE */
00000C90 6A08 bpl +0xA /* 00000C9A */
00000C92 5480 addq.l D0, 2
00000C94 6734 beq +0x36 /* 00000CCA */
00000C96 6A08 bpl +0xA /* 00000CA0 */
00000C98 603E bra +0x40 /* 00000CD8 */
label00000C9A:
00000C9A 5580 subq.l D0, 2
00000C9C 6A3A bpl +0x3C /* 00000CD8 */
00000C9E 601C bra +0x1E /* 00000CBC */
label00000CA0:
00000CA0 2F0C move.l -[A7], A4
00000CA2 486E FFF8 pea.l [A6 - 0x8]
00000CA6 4EBA 18CC jsr [PC + 0x18CC /* 00002574 */]
00000CAA 508F addq.l A7, 8
00000CAC 6036 bra +0x38 /* 00000CE4 */
label00000CAE:
00000CAE 2F0C move.l -[A7], A4
00000CB0 486E FFF8 pea.l [A6 - 0x8]
00000CB4 4EBA 1F6A jsr [PC + 0x1F6A /* 00002C20 */]
00000CB8 508F addq.l A7, 8
00000CBA 6028 bra +0x2A /* 00000CE4 */
label00000CBC:
00000CBC 2F0C move.l -[A7], A4
00000CBE 486E FFF8 pea.l [A6 - 0x8]
00000CC2 4EBA 2260 jsr [PC + 0x2260 /* 00002F24 */]
00000CC6 508F addq.l A7, 8
00000CC8 601A bra +0x1C /* 00000CE4 */
label00000CCA:
00000CCA 2F0C move.l -[A7], A4
00000CCC 486E FFF8 pea.l [A6 - 0x8]
00000CD0 4EBA 25C6 jsr [PC + 0x25C6 /* 00003298 */]
00000CD4 508F addq.l A7, 8
00000CD6 600C bra +0xE /* 00000CE4 */
label00000CD8:
00000CD8 2F0C move.l -[A7], A4
00000CDA 486E FFF8 pea.l [A6 - 0x8]
00000CDE 4EAD 022A jsr [A5 + 0x22A /* export_65 */]
00000CE2 508F addq.l A7, 8
label00000CE4:
00000CE4 4CDF 1080 movem.l D7,A4, [A7]+
00000CE8 4E5E unlink A6
00000CEA 4E75 rts
00000CEC 8644 or.w D3, D4
00000CEE 6F44 ble +0x46 /* 00000D34 */
00000CF0 7261 moveq.l D1, 0x61
00000CF2 6700 0000 beq +0x2 /* 00000CF4 */
// begin alternate branch 00000CF4-00000CFE
label00000CF4:
00000CF4 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00000CF6: // (misaligned)
00000CF8 0000 48E7 ori.b D0, 0xE7
00000CFC 0108 btst A0, D0
// end alternate branch 00000CF4-00000CFE
label00000CF4: // (misaligned)
fn00000CF6:
00000CF6 4E56 0000 link A6, 0
00000CFA 48E7 0108 movem.l -[A7], D7,A4
00000CFE 286E 0008 movea.l A4, [A6 + 0x8]
00000D02 4227 clr.b -[A7]
00000D04 2F0C move.l -[A7], A4
00000D06 2F2D E618 move.l -[A7], [A5 - 0x19E8]
00000D0A A91E syscall TrackGoAway
00000D0C 4A1F tst.b [A7]+
00000D0E 6754 beq +0x56 /* 00000D64 */
00000D10 42A7 clr.l -[A7]
00000D12 2F0C move.l -[A7], A4
00000D14 A917 syscall GetWRefCon
00000D16 2E1F move.l D7, [A7]+
00000D18 2007 move.l D0, D7
00000D1A 6B40 bmi +0x42 /* 00000D5C */
00000D1C 0480 0000 0107 subi.l D0, 0x107
00000D22 671A beq +0x1C /* 00000D3E */
00000D24 6A08 bpl +0xA /* 00000D2E */
00000D26 5480 addq.l D0, 2
00000D28 6728 beq +0x2A /* 00000D52 */
00000D2A 6A08 bpl +0xA /* 00000D34 */
00000D2C 602E bra +0x30 /* 00000D5C */
label00000D2E:
00000D2E 5580 subq.l D0, 2
00000D30 6A2A bpl +0x2C /* 00000D5C */
00000D32 6014 bra +0x16 /* 00000D48 */
label00000D34:
00000D34 2F0C move.l -[A7], A4
00000D36 4EBA 1780 jsr [PC + 0x1780 /* 000024B8 */]
00000D3A 588F addq.l A7, 4
00000D3C 6026 bra +0x28 /* 00000D64 */
label00000D3E:
00000D3E 2F0C move.l -[A7], A4
00000D40 4EBA 1E26 jsr [PC + 0x1E26 /* 00002B68 */]
00000D44 588F addq.l A7, 4
00000D46 601C bra +0x1E /* 00000D64 */
label00000D48:
00000D48 2F0C move.l -[A7], A4
00000D4A 4EBA 2124 jsr [PC + 0x2124 /* 00002E70 */]
00000D4E 588F addq.l A7, 4
00000D50 6012 bra +0x14 /* 00000D64 */
label00000D52:
00000D52 2F0C move.l -[A7], A4
00000D54 4EBA 2486 jsr [PC + 0x2486 /* 000031DC */]
00000D58 588F addq.l A7, 4
00000D5A 6008 bra +0xA /* 00000D64 */
label00000D5C:
00000D5C 2F0C move.l -[A7], A4
00000D5E 4EAD 0232 jsr [A5 + 0x232 /* export_66 */]
00000D62 588F addq.l A7, 4
label00000D64:
00000D64 4CDF 1080 movem.l D7,A4, [A7]+
00000D68 4E5E unlink A6
00000D6A 4E75 rts
00000D6C 8844 or.w D4, D4
00000D6E 6F47 ble +0x49 /* 00000DB7 */
00000D70 6F41 ble +0x43 /* 00000DB3 */
00000D72 7761 moveq.l D3, 0x61
00000D74 7900 moveq.l D4, 0x00
00000D76 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000D78-00000D80
fn00000D78:
00000D78 4E56 0000 link A6, 0
00000D7C 48E7 0118 movem.l -[A7], D7,A3,A4
// end alternate branch 00000D78-00000D80
fn00000D78: // (misaligned)
00000D7A 0000 48E7 ori.b D0, 0xE7
00000D7E 0118 btst [A0]+, D0
00000D80 286E 0008 movea.l A4, [A6 + 0x8]
00000D84 266E 000C movea.l A3, [A6 + 0xC]
00000D88 42A7 clr.l -[A7]
00000D8A A924 syscall FrontWindow
00000D8C B9DF cmpa.l A4, [A7]+
00000D8E 6706 beq +0x8 /* 00000D96 */
00000D90 2F0C move.l -[A7], A4
00000D92 A91F syscall SelectWindow
00000D94 605A bra +0x5C /* 00000DF0 */
label00000D96:
00000D96 2F0C move.l -[A7], A4
00000D98 A873 syscall SetPort
00000D9A 42A7 clr.l -[A7]
00000D9C 2F0C move.l -[A7], A4
00000D9E A917 syscall GetWRefCon
00000DA0 2E1F move.l D7, [A7]+
00000DA2 2007 move.l D0, D7
00000DA4 6B40 bmi +0x42 /* 00000DE6 */
00000DA6 0480 0000 0107 subi.l D0, 0x107
00000DAC 671A beq +0x1C /* 00000DC8 */
00000DAE 6A08 bpl +0xA /* 00000DB8 */
00000DB0 5480 addq.l D0, 2
00000DB2 6728 beq +0x2A /* 00000DDC */
00000DB4 6A08 bpl +0xA /* 00000DBE */
00000DB6 602E bra +0x30 /* 00000DE6 */
label00000DB8:
00000DB8 5580 subq.l D0, 2
00000DBA 6A2A bpl +0x2C /* 00000DE6 */
00000DBC 6014 bra +0x16 /* 00000DD2 */
label00000DBE:
00000DBE 2F0B move.l -[A7], A3
00000DC0 4EBA 1C7C jsr [PC + 0x1C7C /* 00002A3E */]
00000DC4 588F addq.l A7, 4
00000DC6 6028 bra +0x2A /* 00000DF0 */
label00000DC8:
00000DC8 2F0B move.l -[A7], A3
00000DCA 4EBA 1FC2 jsr [PC + 0x1FC2 /* 00002D8E */]
00000DCE 588F addq.l A7, 4
00000DD0 601E bra +0x20 /* 00000DF0 */
label00000DD2:
00000DD2 2F0B move.l -[A7], A3
00000DD4 4EBA 22BA jsr [PC + 0x22BA /* 00003090 */]
00000DD8 588F addq.l A7, 4
00000DDA 6014 bra +0x16 /* 00000DF0 */
label00000DDC:
00000DDC 2F0B move.l -[A7], A3
00000DDE 4EBA 283E jsr [PC + 0x283E /* 0000361E */]
00000DE2 588F addq.l A7, 4
00000DE4 600A bra +0xC /* 00000DF0 */
label00000DE6:
00000DE6 2F0C move.l -[A7], A4
00000DE8 2F0B move.l -[A7], A3
00000DEA 4EAD 023A jsr [A5 + 0x23A /* export_67 */]
00000DEE 508F addq.l A7, 8
label00000DF0:
00000DF0 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000DF4 4E5E unlink A6
00000DF6 4E75 rts
00000DF8 8B44 6F49 pack D5, D4, 0x6F49
00000DFC 6E43 bgt +0x45 /* 00000E41 */
00000DFE 6F6E ble +0x70 /* 00000E6E */
00000E00 7465 moveq.l D2, 0x65
00000E02 6E74 bgt +0x76 /* 00000E78 */
00000E04 0000 48E7 ori.b D0, 0xE7
// begin alternate branch 00000E06-00000E0A
fn00000E06:
00000E06 48E7 0108 movem.l -[A7], D7,A4
// end alternate branch 00000E06-00000E0A
fn00000E06: // (misaligned)
00000E08 0108 btst A0, D0
00000E0A 286D E610 movea.l A4, [A5 - 0x19F0]
00000E0E 2F0C move.l -[A7], A4
00000E10 A922 syscall BeginUpdate
00000E12 42A7 clr.l -[A7]
00000E14 2F0C move.l -[A7], A4
00000E16 A917 syscall GetWRefCon
00000E18 2E1F move.l D7, [A7]+
00000E1A 2007 move.l D0, D7
00000E1C 6B40 bmi +0x42 /* 00000E5E */
00000E1E 0480 0000 0107 subi.l D0, 0x107
00000E24 671A beq +0x1C /* 00000E40 */
00000E26 6A08 bpl +0xA /* 00000E30 */
00000E28 5480 addq.l D0, 2
00000E2A 6728 beq +0x2A /* 00000E54 */
00000E2C 6A08 bpl +0xA /* 00000E36 */
00000E2E 602E bra +0x30 /* 00000E5E */
label00000E30:
00000E30 5580 subq.l D0, 2
00000E32 6A2A bpl +0x2C /* 00000E5E */
00000E34 6014 bra +0x16 /* 00000E4A */
label00000E36:
00000E36 2F0C move.l -[A7], A4
00000E38 4EBA 177E jsr [PC + 0x177E /* 000025B8 */]
00000E3C 588F addq.l A7, 4
00000E3E 6026 bra +0x28 /* 00000E66 */
label00000E40:
00000E40 2F0C move.l -[A7], A4
00000E42 4EBA 1E1E jsr [PC + 0x1E1E /* 00002C62 */]
00000E46 588F addq.l A7, 4
00000E48 601C bra +0x1E /* 00000E66 */
label00000E4A:
00000E4A 2F0C move.l -[A7], A4
00000E4C 4EBA 2116 jsr [PC + 0x2116 /* 00002F64 */]
00000E50 588F addq.l A7, 4
00000E52 6012 bra +0x14 /* 00000E66 */
label00000E54:
00000E54 2F0C move.l -[A7], A4
00000E56 4EBA 2484 jsr [PC + 0x2484 /* 000032DC */]
00000E5A 588F addq.l A7, 4
00000E5C 6008 bra +0xA /* 00000E66 */
label00000E5E:
00000E5E 2F0C move.l -[A7], A4
00000E60 4EAD 0242 jsr [A5 + 0x242 /* export_68 */]
00000E64 588F addq.l A7, 4
label00000E66:
00000E66 2F0C move.l -[A7], A4
00000E68 A923 syscall EndUpdate
00000E6A 4CDF 1080 movem.l D7,A4, [A7]+
label00000E6E:
00000E6E 4E75 rts
fn00000E70:
00000E70 48E7 0308 movem.l -[A7], D6,D7,A4
00000E74 286D E610 movea.l A4, [A5 - 0x19F0]
label00000E78:
00000E78 082D 0000 E61D btst.b [A5 - 0x19E3], 0x0
00000E7E 56C7 sne D7
00000E80 4407 neg.b D7
00000E82 42A7 clr.l -[A7]
00000E84 2F0C move.l -[A7], A4
00000E86 A917 syscall GetWRefCon
00000E88 2C1F move.l D6, [A7]+
00000E8A 2006 move.l D0, D6
00000E8C 6B48 bmi +0x4A /* 00000ED6 */
00000E8E 0480 0000 0107 subi.l D0, 0x107
00000E94 671C beq +0x1E /* 00000EB2 */
00000E96 6A08 bpl +0xA /* 00000EA0 */
00000E98 5480 addq.l D0, 2
00000E9A 672E beq +0x30 /* 00000ECA */
00000E9C 6A08 bpl +0xA /* 00000EA6 */
00000E9E 6036 bra +0x38 /* 00000ED6 */
label00000EA0:
00000EA0 5580 subq.l D0, 2
00000EA2 6A32 bpl +0x34 /* 00000ED6 */
00000EA4 6018 bra +0x1A /* 00000EBE */
label00000EA6:
00000EA6 1F07 move.b -[A7], D7
00000EA8 2F0C move.l -[A7], A4
00000EAA 4EBA 1A76 jsr [PC + 0x1A76 /* 00002922 */]
00000EAE 5C8F addq.l A7, 6
00000EB0 602E bra +0x30 /* 00000EE0 */
label00000EB2:
00000EB2 1F07 move.b -[A7], D7
00000EB4 2F0C move.l -[A7], A4
00000EB6 4EBA 1E7A jsr [PC + 0x1E7A /* 00002D32 */]
00000EBA 5C8F addq.l A7, 6
00000EBC 6022 bra +0x24 /* 00000EE0 */
label00000EBE:
00000EBE 1F07 move.b -[A7], D7
00000EC0 2F0C move.l -[A7], A4
00000EC2 4EBA 2170 jsr [PC + 0x2170 /* 00003034 */]
00000EC6 5C8F addq.l A7, 6
00000EC8 6016 bra +0x18 /* 00000EE0 */
label00000ECA:
00000ECA 1F07 move.b -[A7], D7
00000ECC 2F0C move.l -[A7], A4
00000ECE 4EBA 2692 jsr [PC + 0x2692 /* 00003562 */]
00000ED2 5C8F addq.l A7, 6
00000ED4 600A bra +0xC /* 00000EE0 */
label00000ED6:
00000ED6 1F07 move.b -[A7], D7
00000ED8 2F0C move.l -[A7], A4
00000EDA 4EAD 024A jsr [A5 + 0x24A /* export_69 */]
00000EDE 5C8F addq.l A7, 6
label00000EE0:
00000EE0 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00000EE4 4E75 rts
export_24:
00000EE6 A036 syscall MoreMasters
00000EE8 A063 syscall MaxApplZone
00000EEA 486D E5E4 pea.l [A5 - 0x1A1C]
00000EEE A86E syscall InitGraf
00000EF0 A8FE syscall InitFonts
00000EF2 A912 syscall InitWindows
00000EF4 A930 syscall InitMenus
00000EF6 A9CC syscall TEInit
00000EF8 42A7 clr.l -[A7]
00000EFA A97B syscall InitDialogs
00000EFC 2F3C 0000 FFFF move.l -[A7], 0xFFFF
00000F02 201F move.l D0, [A7]+
00000F04 A032 syscall FlushEvents
00000F06 A850 syscall InitCursor
00000F08 422D E622 clr.b [A5 - 0x19DE]
00000F0C 4EBA 1228 jsr [PC + 0x1228 /* 00002136 */]
00000F10 42AD E624 clr.l [A5 - 0x19DC]
00000F14 3B7C 0028 E620 move.w [A5 - 0x19E0], 0x28 /* '(' */
00000F1A 4EBA F83C jsr [PC - 0x7C4 /* 00000758 */]
00000F1E 1B40 E61E move.b [A5 - 0x19E2], D0
00000F22 42AD E60A clr.l [A5 - 0x19F6]
00000F26 42A7 clr.l -[A7]
00000F28 A8D8 syscall NewRgn
00000F2A 2B5F E9FE move.l [A5 - 0x1602], [A7]+
00000F2E 42AD EA0C clr.l [A5 - 0x15F4]
00000F32 422D EA10 clr.b [A5 - 0x15F0]
00000F36 4EAD 01EA jsr [A5 + 0x1EA /* export_57 */]
00000F3A 4EBA 0ED0 jsr [PC + 0xED0 /* 00001E0C */]
00000F3E 4EBA 1548 jsr [PC + 0x1548 /* 00002488 */]
00000F42 4EBA 1BF4 jsr [PC + 0x1BF4 /* 00002B38 */]
00000F46 4EBA 029A jsr [PC + 0x29A /* 000011E2 */]
00000F4A 4EBA 1EF4 jsr [PC + 0x1EF4 /* 00002E40 */]
00000F4E 4EBA 225C jsr [PC + 0x225C /* 000031AC */]
00000F52 4EAD 0292 jsr [A5 + 0x292 /* export_78 */]
00000F56 4EBA 035E jsr [PC + 0x35E /* 000012B6 */]
label00000F5A:
00000F5A 4EAD 025A jsr [A5 + 0x25A /* export_71 */]
00000F5E 4EBA F98A jsr [PC - 0x676 /* 000008EA */]
00000F62 4AAD E624 tst.l [A5 - 0x19DC]
00000F66 6706 beq +0x8 /* 00000F6E */
00000F68 2F2D E624 move.l -[A7], [A5 - 0x19DC]
00000F6C A9DA syscall TEIdle
label00000F6E:
00000F6E 4A2D E61E tst.b [A5 - 0x19E2]
00000F72 671C beq +0x1E /* 00000F90 */
00000F74 4227 clr.b -[A7]
00000F76 3F3C FFFF move.w -[A7], 0xFFFF
00000F7A 486D E60E pea.l [A5 - 0x19F2]
00000F7E 306D E620 movea.w A0, [A5 - 0x19E0]
00000F82 2F08 move.l -[A7], A0
00000F84 2F2D E9FE move.l -[A7], [A5 - 0x1602]
00000F88 A860 syscall WaitNextEvent
00000F8A 1B5F E5E8 move.b [A5 - 0x1A18], [A7]+
00000F8E 6012 bra +0x14 /* 00000FA2 */
label00000F90:
00000F90 A9B4 syscall SystemTask
00000F92 4227 clr.b -[A7]
00000F94 3F3C FFFF move.w -[A7], 0xFFFF
00000F98 486D E60E pea.l [A5 - 0x19F2]
00000F9C A970 syscall GetNextEvent
00000F9E 1B5F E5E8 move.b [A5 - 0x1A18], [A7]+
label00000FA2:
00000FA2 486D E60E pea.l [A5 - 0x19F2]
00000FA6 486D E5E8 pea.l [A5 - 0x1A18]
00000FAA 4EAD 0262 jsr [A5 + 0x262 /* export_72 */]
00000FAE 4A2D E5E8 tst.b [A5 - 0x1A18]
00000FB2 508F addq.l A7, 8
00000FB4 6700 00DC beq +0xDE /* 00001092 */
00000FB8 302D E60E move.w D0, [A5 - 0x19F2]
00000FBC 0C40 000F cmpi.w D0, 0xF
00000FC0 6200 00D0 bhi +0xD2 /* 00001092 */
00000FC4 43FA 010E lea.l A1, [PC + 0x10E /* 000010D4, value 0xFFBEFEFC */]
00000FC8 D040 add.w D0, D0
00000FCA D2F1 0000 add.w A1, [A1 + D0.w]
00000FCE 4ED1 jmp [A1]
00000FD0 4267 clr.w -[A7]
00000FD2 2F2D E618 move.l -[A7], [A5 - 0x19E8]
00000FD6 486D E5EC pea.l [A5 - 0x1A14]
00000FDA A92C syscall FindWindow
00000FDC 3B5F E5EA move.w [A5 - 0x1A16], [A7]+
00000FE0 302D E5EA move.w D0, [A5 - 0x1A16]
00000FE4 0C40 0006 cmpi.w D0, 0x6
00000FE8 6200 00A8 bhi +0xAA /* 00001092 */
00000FEC 43FA 00D8 lea.l A1, [PC + 0xD8 /* 000010C6, value 0xFFCCFF32 */]
00000FF0 D040 add.w D0, D0
00000FF2 D2F1 0000 add.w A1, [A1 + D0.w]
00000FF6 4ED1 jmp [A1]
00000FF8 4EAD 0252 jsr [A5 + 0x252 /* export_70 */]
00000FFC 42A7 clr.l -[A7]
00000FFE 2F2D E618 move.l -[A7], [A5 - 0x19E8]
00001002 A93D syscall MenuSelect
00001004 2B5F E5F0 move.l [A5 - 0x1A10], [A7]+
00001008 4267 clr.w -[A7]
0000100A 2F2D E5F0 move.l -[A7], [A5 - 0x1A10]
0000100E A86A syscall HiWord
00001010 3B5F E5F4 move.w [A5 - 0x1A0C], [A7]+
00001014 4267 clr.w -[A7]
00001016 2F2D E5F0 move.l -[A7], [A5 - 0x1A10]
0000101A A86B syscall LoWord
0000101C 3B5F E5F6 move.w [A5 - 0x1A0A], [A7]+
00001020 3F2D E5F6 move.w -[A7], [A5 - 0x1A0A]
00001024 3F2D E5F4 move.w -[A7], [A5 - 0x1A0C]
00001028 4EBA 137E jsr [PC + 0x137E /* 000023A8 */]
0000102C 588F addq.l A7, 4
0000102E 6062 bra +0x64 /* 00001092 */
00001030 2F2D E5EC move.l -[A7], [A5 - 0x1A14]
00001034 4EBA FBF0 jsr [PC - 0x410 /* 00000C26 */]
00001038 588F addq.l A7, 4
0000103A 6056 bra +0x58 /* 00001092 */
0000103C 2F2D E5EC move.l -[A7], [A5 - 0x1A14]
00001040 4EBA FAB8 jsr [PC - 0x548 /* 00000AFA */]
00001044 588F addq.l A7, 4
00001046 604A bra +0x4C /* 00001092 */
00001048 2F2D E5EC move.l -[A7], [A5 - 0x1A14]
0000104C 4EBA FCA8 jsr [PC - 0x358 /* 00000CF6 */]
00001050 588F addq.l A7, 4
00001052 603E bra +0x40 /* 00001092 */
00001054 486D E60E pea.l [A5 - 0x19F2]
00001058 2F2D E5EC move.l -[A7], [A5 - 0x1A14]
0000105C 4EBA FD1A jsr [PC - 0x2E6 /* 00000D78 */]
00001060 508F addq.l A7, 8
00001062 602E bra +0x30 /* 00001092 */
00001064 486D E60E pea.l [A5 - 0x19F2]
00001068 2F2D E5EC move.l -[A7], [A5 - 0x1A14]
0000106C A9B3 syscall SystemClick
0000106E 6022 bra +0x24 /* 00001092 */
00001070 4EBA F962 jsr [PC - 0x69E /* 000009D4 */]
00001074 601C bra +0x1E /* 00001092 */
00001076 4EBA FD8E jsr [PC - 0x272 /* 00000E06 */]
0000107A 6016 bra +0x18 /* 00001092 */
0000107C 4EBA FA0C jsr [PC - 0x5F4 /* 00000A8A */]
00001080 6010 bra +0x12 /* 00001092 */
00001082 4EBA FDEC jsr [PC - 0x214 /* 00000E70 */]
00001086 600A bra +0xC /* 00001092 */
00001088 486D E60E pea.l [A5 - 0x19F2]
0000108C 4EAD 0272 jsr [A5 + 0x272 /* export_74 */]
00001090 588F addq.l A7, 4
label00001092:
00001092 4A2D E622 tst.b [A5 - 0x19DE]
00001096 6700 FEC2 beq -0x13C /* 00000F5A */
0000109A 4878 FFFF push.l 0xFFFF
0000109E 4EBA 1418 jsr [PC + 0x1418 /* 000024B8 */]
000010A2 70FF moveq.l D0, 0xFFFFFFFF
000010A4 2E80 move.l [A7], D0
000010A6 4EBA 1AC0 jsr [PC + 0x1AC0 /* 00002B68 */]
000010AA 70FF moveq.l D0, 0xFFFFFFFF
000010AC 2E80 move.l [A7], D0
000010AE 4EBA 1DC0 jsr [PC + 0x1DC0 /* 00002E70 */]
000010B2 70FF moveq.l D0, 0xFFFFFFFF
000010B4 2E80 move.l [A7], D0
000010B6 4EBA 2124 jsr [PC + 0x2124 /* 000031DC */]
000010BA 4EBA 03FA jsr [PC + 0x3FA /* 000014B6 */]
000010BE 4EAD 029A jsr [A5 + 0x29A /* export_79 */]
000010C2 588F addq.l A7, 4
000010C4 4E75 rts
000010C6 FFCC .invalid <<F/7/7>>
000010C8 FF32 .extension 0xF32 <<F/4-5/7>> // unimplemented
000010CA FF9E .invalid <<F/6/7>>
000010CC FF8E .invalid <<F/6/7>>
000010CE FF6A .extension 0xF6A <<F/4-5/7>> // unimplemented
000010D0 FF76 .extension 0xF76 <<F/4-5/7>> // unimplemented
000010D2 FF82 .invalid <<F/6/7>>
000010D4 FFBE .invalid <<F/6/7>>
000010D6 FEFC FFBE .extension 0xEFC <<F/2-3/7>> // unimplemented
000010DA FF9C .invalid <<F/6/7>>
000010DC FFBE .invalid <<F/6/7>>
000010DE FF9C .invalid <<F/6/7>>
000010E0 FFA2 .invalid <<F/6/7>>
000010E2 FFA8 .invalid <<F/6/7>>
000010E4 FFAE .invalid <<F/6/7>>
000010E6 FFBE .invalid <<F/6/7>>
000010E8 FFBE .invalid <<F/6/7>>
000010EA FFBE .invalid <<F/6/7>>
000010EC FFBE .invalid <<F/6/7>>
000010EE FFBE .invalid <<F/6/7>>
000010F0 FFBE .invalid <<F/6/7>>
000010F2 FFB4 .invalid <<F/6/7>>
export_10:
000010F4 A193 syscall Microseconds, flags=1
000010F6 4E75 rts
export_11:
000010F8 4E56 FFF2 link A6, -0x000E
000010FC 48E7 0F38 movem.l -[A7], D4,D5,D6,D7,A2,A3,A4
00001100 2C2E 0008 move.l D6, [A6 + 0x8]
00001104 286E 0010 movea.l A4, [A6 + 0x10]
00001108 266E 000C movea.l A3, [A6 + 0xC]
0000110C 7E00 moveq.l D7, 0x00
0000110E 4A2D E5F8 tst.b [A5 - 0x1A08]
00001112 6740 beq +0x42 /* 00001154 */
00001114 2F0C move.l -[A7], A4
00001116 3F3C 0001 move.w -[A7], 0x1
0000111A 486E FFF6 pea.l [A6 - 0xA]
0000111E 486E FFF2 pea.l [A6 - 0xE]
00001122 486E FFF8 pea.l [A6 - 0x8]
00001126 A98D syscall GetDialogItem/GetDItem
00001128 2F3C 0003 0003 move.l -[A7], 0x30003
0000112E A89B syscall PenSize
00001130 486E FFF8 pea.l [A6 - 0x8]
00001134 2F3C FFFC FFFC move.l -[A7], 0xFFFCFFFC
0000113A A8A9 syscall InsetRect
0000113C 486E FFF8 pea.l [A6 - 0x8]
00001140 2F3C 0010 0010 move.l -[A7], 0x100010
00001146 A8B0 syscall FrameRoundRect
00001148 2F3C 0001 0001 move.l -[A7], 0x10001
0000114E A89B syscall PenSize
00001150 422D E5F8 clr.b [A5 - 0x1A08]
label00001154:
00001154 2F06 move.l -[A7], D6
00001156 2F0B move.l -[A7], A3
00001158 2F0C move.l -[A7], A4
0000115A 4EAD 0282 jsr [A5 + 0x282 /* export_76 */]
0000115E 1E00 move.b D7, D0
00001160 0C53 0003 cmpi.w [A3], 0x3
00001164 4FEF 000C lea.l A7, [A7 + 0xC]
00001168 665A bne +0x5C /* 000011C4 */
0000116A 3A2B 0004 move.w D5, [A3 + 0x4]
0000116E 0245 00FF andi.w D5, 0xFF
00001172 0C45 000D cmpi.w D5, 0xD /* '\r' */
00001176 6706 beq +0x8 /* 0000117E */
00001178 0C45 0003 cmpi.w D5, 0x3
0000117C 6646 bne +0x48 /* 000011C4 */
label0000117E:
0000117E 7E01 moveq.l D7, 0x01
00001180 2046 movea.l A0, D6
00001182 30BC 0001 move.w [A0], 0x1
00001186 2F0C move.l -[A7], A4
00001188 2046 movea.l A0, D6
0000118A 3F10 move.w -[A7], [A0]
0000118C 486E FFF6 pea.l [A6 - 0xA]
00001190 486E FFF2 pea.l [A6 - 0xE]
00001194 486E FFF8 pea.l [A6 - 0x8]
00001198 A98D syscall GetDialogItem/GetDItem
0000119A 0C6E 0004 FFF6 cmpi.w [A6 - 0xA], 0x4
000011A0 6622 bne +0x24 /* 000011C4 */
000011A2 246E FFF2 movea.l A2, [A6 - 0xE]
000011A6 2F0A move.l -[A7], A2
000011A8 3F3C 000A move.w -[A7], 0xA /* '\n' */
000011AC A95D syscall HiliteControl
000011AE 42A7 clr.l -[A7]
000011B0 A975 syscall TickCount
000011B2 780F moveq.l D4, 0x0F
000011B4 D89F add.l D4, [A7]+
label000011B6:
000011B6 42A7 clr.l -[A7]
000011B8 A975 syscall TickCount
000011BA B89F cmp.l D4, [A7]+
000011BC 62F8 bhi -0x6 /* 000011B6 */
000011BE 2F0A move.l -[A7], A2
000011C0 4267 clr.w -[A7]
000011C2 A95D syscall HiliteControl
label000011C4:
000011C4 1D47 0014 move.b [A6 + 0x14], D7
000011C8 4CDF 1CF0 movem.l D4,D5,D6,D7,A2,A3,A4, [A7]+
000011CC 4E5E unlink A6
000011CE 205F movea.l A0, [A7]+
000011D0 4FEF 000C lea.l A7, [A7 + 0xC]
000011D4 4ED0 jmp [A0]
000011D6 884D or.w D4, A5
000011D8 7946 moveq.l D4, 0x46
000011DA 696C bvs +0x6E /* 00001248 */
000011DC 7465 moveq.l D2, 0x65
000011DE 7200 moveq.l D1, 0x00
000011E0 0000 4EAD ori.b D0, 0xAD
// begin alternate branch 000011E2-000011EC
fn000011E2:
000011E2 4EAD 027A jsr [A5 + 0x27A /* export_75 */]
000011E6 4E75 rts
export_12:
fn000011E8:
000011E8 4E56 FFF8 link A6, -0x0008
// end alternate branch 000011E2-000011EC
fn000011E2: // (misaligned)
000011E4 027A 4E75 4E56 andi.w [PC + 0x4E56 /* 0000603C, cstring ""<EOF> */], 0x4E75 /* 'Nu' */
export_12: // at 000011E8 (misaligned)
fn000011E8: // (misaligned)
000011EA FFF8 .invalid <<F/7/7>>
000011EC 48E7 0108 movem.l -[A7], D7,A4
000011F0 42A7 clr.l -[A7]
000011F2 2F3C 414C 5254 move.l -[A7], 0x414C5254 /* 'ALRT' */
000011F8 3F3C 0104 move.w -[A7], 0x104
000011FC A9A0 syscall GetResource
000011FE 285F movea.l A4, [A7]+
00001200 204C movea.l A0, A4
00001202 A029 syscall HLock
00001204 2054 movea.l A0, [A4]
00001206 2D50 FFF8 move.l [A6 - 0x8], [A0]
0000120A 2D68 0004 FFFC move.l [A6 - 0x4], [A0 + 0x4]
00001210 302E FFFC move.w D0, [A6 - 0x4]
00001214 906E FFF8 sub.w D0, [A6 - 0x8]
00001218 322D E574 move.w D1, [A5 - 0x1A8C]
0000121C 926D E570 sub.w D1, [A5 - 0x1A90]
00001220 9240 sub.w D1, D0
00001222 48C1 ext.l D1
00001224 83FC 0003 divs.w D1, 0x3
00001228 3D41 FFF8 move.w [A6 - 0x8], D1
0000122C 302E FFFE move.w D0, [A6 - 0x2]
00001230 906E FFFA sub.w D0, [A6 - 0x6]
00001234 322D E576 move.w D1, [A5 - 0x1A8A]
00001238 926D E572 sub.w D1, [A5 - 0x1A8E]
0000123C 9240 sub.w D1, D0
0000123E 48C1 ext.l D1
00001240 83FC 0002 divs.w D1, 0x2
00001244 3D41 FFFA move.w [A6 - 0x6], D1
label00001248:
00001248 2054 movea.l A0, [A4]
0000124A 3028 0004 move.w D0, [A0 + 0x4]
0000124E 9050 sub.w D0, [A0]
00001250 D06E FFF8 add.w D0, [A6 - 0x8]
00001254 3D40 FFFC move.w [A6 - 0x4], D0
00001258 2054 movea.l A0, [A4]
0000125A 3028 0006 move.w D0, [A0 + 0x6]
0000125E 9068 0002 sub.w D0, [A0 + 0x2]
00001262 D06E FFFA add.w D0, [A6 - 0x6]
00001266 3D40 FFFE move.w [A6 - 0x2], D0
0000126A 2054 movea.l A0, [A4]
0000126C 20AE FFF8 move.l [A0], [A6 - 0x8]
00001270 216E FFFC 0004 move.l [A0 + 0x4], [A6 - 0x4]
00001276 1B7C 0001 E5F8 move.b [A5 - 0x1A08], 0x1
0000127C 4267 clr.w -[A7]
0000127E 3F3C 0104 move.w -[A7], 0x104
00001282 486D 007A pea.l [A5 + 0x7A /* export_11 */]
00001286 A988 syscall CautionAlert
00001288 3E1F move.w D7, [A7]+
0000128A 204C movea.l A0, A4
0000128C A02A syscall HUnlock
0000128E 0C47 0001 cmpi.w D7, 0x1
00001292 3F07 move.w -[A7], D7
00001294 4EAD 028A jsr [A5 + 0x28A /* export_77 */]
00001298 4CEE 1080 FFF0 movem.l D7,A4, [A6 - 0x10]
0000129E 4E5E unlink A6
000012A0 4E75 rts
000012A2 9050 sub.w D0, [A0]
000012A4 415F chk.w D0, [A7]+
000012A6 4765 chk.w D3, -[A5]
000012A8 6E65 bgt +0x67 /* 0000130F */
000012AA 7261 moveq.l D1, 0x61
000012AC 6C5F bge +0x61 /* 0000130D */
000012AE 416C 6572 chk.w D0, [A4 + 0x6572]
000012B2 7400 moveq.l D2, 0x00
000012B4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000012B6-000012BE
fn000012B6:
000012B6 4E56 FE86 link A6, -0x017A
000012BA 48E7 0708 movem.l -[A7], D5,D6,D7,A4
// end alternate branch 000012B6-000012BE
fn000012B6: // (misaligned)
000012B8 FE86 48E7 .extension 0xE86 <<F/2-3/7>> // unimplemented
000012BC 0708 btst A0, D3
000012BE 486E FFF8 pea.l [A6 - 0x8]
000012C2 486E FFE4 pea.l [A6 - 0x1C]
000012C6 486E FEE4 pea.l [A6 - 0x11C]
000012CA 486E FE96 pea.l [A6 - 0x16A]
000012CE 486E FE9A pea.l [A6 - 0x166]
000012D2 4EAD 01F2 jsr [A5 + 0x1F2 /* export_58 */]
000012D6 7C00 moveq.l D6, 0x00
000012D8 7A00 moveq.l D5, 0x00
000012DA 426E FFFC clr.w [A6 - 0x4]
000012DE 4A2D EA0B tst.b [A5 - 0x15F5]
000012E2 4FEF 0014 lea.l A7, [A7 + 0x14]
000012E6 6700 01AC beq +0x1AE /* 00001494 */
000012EA 4267 clr.w -[A7]
000012EC 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
000012F2 486E FFF4 pea.l [A6 - 0xC]
000012F6 4EBA EE72 jsr [PC - 0x118E /* 0000016A */]
000012FA 3E1F move.w D7, [A7]+
000012FC 4A47 tst.w D7
000012FE 660A bne +0xC /* 0000130A */
00001300 082E 0000 FFF7 btst.b [A6 - 0x9], 0x0
00001306 6702 beq +0x4 /* 0000130A */
00001308 7A01 moveq.l D5, 0x01
label0000130A:
0000130A 4A2D EA0B tst.b [A5 - 0x15F5]
0000130E 6778 beq +0x7A /* 00001388 */
00001310 4A05 tst.b D5
00001312 6774 beq +0x76 /* 00001388 */
00001314 4267 clr.w -[A7]
00001316 3F3C 8000 move.w -[A7], 0x8000
0000131A 2F3C 7072 6566 move.l -[A7], 0x70726566 /* 'pref' */
00001320 1F3C 0001 move.b -[A7], 0x1
00001324 486E FFFE pea.l [A6 - 0x2]
00001328 486E FFF0 pea.l [A6 - 0x10]
0000132C 4EBA F2D2 jsr [PC - 0xD2E /* 00000600 */]
00001330 3E1F move.w D7, [A7]+
00001332 4A47 tst.w D7
00001334 6600 00A8 bne +0xAA /* 000013DE */
00001338 4267 clr.w -[A7]
0000133A 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000133E 2F2E FFF0 move.l -[A7], [A6 - 0x10]
00001342 486E FEE4 pea.l [A6 - 0x11C]
00001346 486E FE9E pea.l [A6 - 0x162]
0000134A 303C 0001 move.w D0, 0x1
0000134E AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00001350 3E1F move.w D7, [A7]+
00001352 0C47 FFD5 cmpi.w D7, 0xFFD5
00001356 6618 bne +0x1A /* 00001370 */
00001358 4267 clr.w -[A7]
0000135A 486E FE9E pea.l [A6 - 0x162]
0000135E 2F2E FE9A move.l -[A7], [A6 - 0x166]
00001362 2F2E FE96 move.l -[A7], [A6 - 0x16A]
00001366 4267 clr.w -[A7]
00001368 303C 0004 move.w D0, 0x4
0000136C AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
0000136E 3E1F move.w D7, [A7]+
label00001370:
00001370 4267 clr.w -[A7]
00001372 486E FE9E pea.l [A6 - 0x162]
00001376 1F3C 0003 move.b -[A7], 0x3
0000137A 486E FFFC pea.l [A6 - 0x4]
0000137E 303C 0002 move.w D0, 0x2
00001382 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00001384 3E1F move.w D7, [A7]+
00001386 6056 bra +0x58 /* 000013DE */
label00001388:
00001388 4267 clr.w -[A7]
0000138A 3F3C 0001 move.w -[A7], 0x1
0000138E 486E FE86 pea.l [A6 - 0x17A]
00001392 4EBA EC6C jsr [PC - 0x1394 /* 00000000 */]
00001396 3E1F move.w D7, [A7]+
00001398 4267 clr.w -[A7]
0000139A 486E FEE4 pea.l [A6 - 0x11C]
0000139E 3F2E FE94 move.w -[A7], [A6 - 0x16C]
000013A2 486E FFFC pea.l [A6 - 0x4]
000013A6 4EBA F042 jsr [PC - 0xFBE /* 000003EA */]
000013AA 3E1F move.w D7, [A7]+
000013AC 0C47 FFD5 cmpi.w D7, 0xFFD5
000013B0 662C bne +0x2E /* 000013DE */
000013B2 4267 clr.w -[A7]
000013B4 486E FEE4 pea.l [A6 - 0x11C]
000013B8 3F2E FE94 move.w -[A7], [A6 - 0x16C]
000013BC 2F2E FE9A move.l -[A7], [A6 - 0x166]
000013C0 2F2E FE96 move.l -[A7], [A6 - 0x16A]
000013C4 4EBA F0E6 jsr [PC - 0xF1A /* 000004AC */]
000013C8 3E1F move.w D7, [A7]+
000013CA 4267 clr.w -[A7]
000013CC 486E FEE4 pea.l [A6 - 0x11C]
000013D0 3F2E FE94 move.w -[A7], [A6 - 0x16C]
000013D4 486E FFFC pea.l [A6 - 0x4]
000013D8 4EBA F010 jsr [PC - 0xFF0 /* 000003EA */]
000013DC 3E1F move.w D7, [A7]+
label000013DE:
000013DE 4A47 tst.w D7
000013E0 6600 00B2 bne +0xB4 /* 00001494 */
000013E4 4267 clr.w -[A7]
000013E6 3F2E FFFC move.w -[A7], [A6 - 0x4]
000013EA 486E FFEC pea.l [A6 - 0x14]
000013EE 4EBA F0FA jsr [PC - 0xF06 /* 000004EA */]
000013F2 3E1F move.w D7, [A7]+
000013F4 4AAE FFEC tst.l [A6 - 0x14]
000013F8 6F00 0088 ble +0x8A /* 00001482 */
000013FC 7002 moveq.l D0, 0x02
000013FE 2D40 FFE8 move.l [A6 - 0x18], D0
00001402 4267 clr.w -[A7]
00001404 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001408 486E FFE8 pea.l [A6 - 0x18]
0000140C 486E FFFA pea.l [A6 - 0x6]
00001410 4EBA F032 jsr [PC - 0xFCE /* 00000444 */]
00001414 3E1F move.w D7, [A7]+
00001416 4267 clr.w -[A7]
00001418 3F2E FFFC move.w -[A7], [A6 - 0x4]
0000141C 3F3C 0001 move.w -[A7], 0x1
00001420 42A7 clr.l -[A7]
00001422 4EBA F108 jsr [PC - 0xEF8 /* 0000052C */]
00001426 3E1F move.w D7, [A7]+
00001428 302E FFFA move.w D0, [A6 - 0x6]
0000142C B06E FFF8 cmp.w D0, [A6 - 0x8]
00001430 6646 bne +0x48 /* 00001478 */
00001432 4AAE FFE4 tst.l [A6 - 0x1C]
00001436 6F40 ble +0x42 /* 00001478 */
00001438 202E FFE4 move.l D0, [A6 - 0x1C]
0000143C A322 syscall NewHandleClear, flags=3
0000143E 2848 movea.l A4, A0
00001440 200C move.l D0, A4
00001442 673E beq +0x40 /* 00001482 */
00001444 204C movea.l A0, A4
00001446 A029 syscall HLock
00001448 2D6E FFE4 FFE8 move.l [A6 - 0x18], [A6 - 0x1C]
0000144E 4267 clr.w -[A7]
00001450 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001454 486E FFE8 pea.l [A6 - 0x18]
00001458 2F14 move.l -[A7], [A4]
0000145A 4EBA EFE8 jsr [PC - 0x1018 /* 00000444 */]
0000145E 3E1F move.w D7, [A7]+
00001460 4A47 tst.w D7
00001462 6608 bne +0xA /* 0000146C */
00001464 2F0C move.l -[A7], A4
00001466 4EAD 01FA jsr [A5 + 0x1FA /* export_59 */]
0000146A 588F addq.l A7, 4
label0000146C:
0000146C 7C01 moveq.l D6, 0x01
0000146E 204C movea.l A0, A4
00001470 A02A syscall HUnlock
00001472 204C movea.l A0, A4
00001474 A023 syscall DisposHandle/DisposeHandle
00001476 600A bra +0xC /* 00001482 */
label00001478:
00001478 3F2E FFFC move.w -[A7], [A6 - 0x4]
0000147C 4EAD 0202 jsr [A5 + 0x202 /* export_60 */]
00001480 548F addq.l A7, 2
label00001482:
00001482 4A6E FFFC tst.w [A6 - 0x4]
00001486 670C beq +0xE /* 00001494 */
00001488 4267 clr.w -[A7]
0000148A 3F2E FFFC move.w -[A7], [A6 - 0x4]
0000148E 4EBA EF9A jsr [PC - 0x1066 /* 0000042A */]
00001492 3E1F move.w D7, [A7]+
label00001494:
00001494 4A06 tst.b D6
00001496 6604 bne +0x6 /* 0000149C */
00001498 4EBA 001C jsr [PC + 0x1C /* 000014B6 */]
label0000149C:
0000149C 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
000014A0 4E5E unlink A6
000014A2 4E75 rts
000014A4 8E47 or.w D7, D7
000014A6 6574 bcs +0x76 /* 0000151C */
000014A8 5072 6566 addq.w <<invalid full ext with IS == 1 and I/IS == 6>>, 8
000014AC 6572 bcs +0x74 /* 00001520 */
000014AE 656E bcs +0x70 /* 0000151E */
000014B0 6365 bls +0x67 /* 00001517 */
000014B2 7300 moveq.l D1, 0x00
000014B4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000014B6-000014BE
export_14:
fn000014B6:
000014B6 4E56 FE8C link A6, -0x0174
000014BA 48E7 0308 movem.l -[A7], D6,D7,A4
// end alternate branch 000014B6-000014BE
export_14: // at 000014B6 (misaligned)
fn000014B6: // (misaligned)
000014B8 FE8C 48E7 .extension 0xE8C <<F/2-3/7>> // unimplemented
000014BC 0308 btst A0, D1
000014BE 486E FEEA pea.l [A6 - 0x116]
000014C2 486E FEF0 pea.l [A6 - 0x110]
000014C6 486E FF00 pea.l [A6 - 0x100]
000014CA 486E FE9C pea.l [A6 - 0x164]
000014CE 486E FEA0 pea.l [A6 - 0x160]
000014D2 4EAD 01F2 jsr [A5 + 0x1F2 /* export_58 */]
000014D6 426E FEEC clr.w [A6 - 0x114]
000014DA 202E FEF0 move.l D0, [A6 - 0x110]
000014DE A322 syscall NewHandleClear, flags=3
000014E0 2848 movea.l A4, A0
000014E2 200C move.l D0, A4
000014E4 4FEF 0014 lea.l A7, [A7 + 0x14]
000014E8 6700 0152 beq +0x154 /* 0000163C */
000014EC 204C movea.l A0, A4
000014EE A029 syscall HLock
000014F0 2F0C move.l -[A7], A4
000014F2 4EAD 020A jsr [A5 + 0x20A /* export_61 */]
000014F6 7C00 moveq.l D6, 0x00
000014F8 4A2D EA0B tst.b [A5 - 0x15F5]
000014FC 588F addq.l A7, 4
000014FE 6700 013C beq +0x13E /* 0000163C */
00001502 4267 clr.w -[A7]
00001504 2F3C 666F 6C64 move.l -[A7], 0x666F6C64 /* 'fold' */
0000150A 486E FEFC pea.l [A6 - 0x104]
0000150E 4EBA EC5A jsr [PC - 0x13A6 /* 0000016A */]
00001512 3E1F move.w D7, [A7]+
00001514 4A47 tst.w D7
00001516 660A bne +0xC /* 00001522 */
00001518 082E 0000 FEFF btst.b [A6 - 0x101], 0x0
// begin alternate branch 0000151C-00001520
label0000151C:
0000151C FEFF 6702 .extension 0xEFF <<F/2-3/7>> // unimplemented
// end alternate branch 0000151C-00001520
label0000151C: // (misaligned)
label0000151E:
0000151E 6702 beq +0x4 /* 00001522 */
label00001520:
00001520 7C01 moveq.l D6, 0x01
label00001522:
00001522 4A2D EA0B tst.b [A5 - 0x15F5]
00001526 6778 beq +0x7A /* 000015A0 */
00001528 4A06 tst.b D6
0000152A 6774 beq +0x76 /* 000015A0 */
0000152C 4267 clr.w -[A7]
0000152E 3F3C 8000 move.w -[A7], 0x8000
00001532 2F3C 7072 6566 move.l -[A7], 0x70726566 /* 'pref' */
00001538 1F3C 0001 move.b -[A7], 0x1
0000153C 486E FEEE pea.l [A6 - 0x112]
00001540 486E FEF8 pea.l [A6 - 0x108]
00001544 4EBA F0BA jsr [PC - 0xF46 /* 00000600 */]
00001548 3E1F move.w D7, [A7]+
0000154A 4A47 tst.w D7
0000154C 6600 00A8 bne +0xAA /* 000015F6 */
00001550 4267 clr.w -[A7]
00001552 3F2E FEEE move.w -[A7], [A6 - 0x112]
00001556 2F2E FEF8 move.l -[A7], [A6 - 0x108]
0000155A 486E FF00 pea.l [A6 - 0x100]
0000155E 486E FEA4 pea.l [A6 - 0x15C]
00001562 303C 0001 move.w D0, 0x1
00001566 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00001568 3E1F move.w D7, [A7]+
0000156A 0C47 FFD5 cmpi.w D7, 0xFFD5
0000156E 6618 bne +0x1A /* 00001588 */
00001570 4267 clr.w -[A7]
00001572 486E FEA4 pea.l [A6 - 0x15C]
00001576 2F2E FEA0 move.l -[A7], [A6 - 0x160]
0000157A 2F2E FE9C move.l -[A7], [A6 - 0x164]
0000157E 4267 clr.w -[A7]
00001580 303C 0004 move.w D0, 0x4
00001584 AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
00001586 3E1F move.w D7, [A7]+
label00001588:
00001588 4267 clr.w -[A7]
0000158A 486E FEA4 pea.l [A6 - 0x15C]
0000158E 1F3C 0003 move.b -[A7], 0x3
00001592 486E FEEC pea.l [A6 - 0x114]
00001596 303C 0002 move.w D0, 0x2
0000159A AA52 syscall HFSPinaforeDispatch/HighLevelFSDispatch
0000159C 3E1F move.w D7, [A7]+
0000159E 6056 bra +0x58 /* 000015F6 */
label000015A0:
000015A0 4267 clr.w -[A7]
000015A2 3F3C 0001 move.w -[A7], 0x1
000015A6 486E FE8C pea.l [A6 - 0x174]
000015AA 4EBA EA54 jsr [PC - 0x15AC /* 00000000 */]
000015AE 3E1F move.w D7, [A7]+
000015B0 4267 clr.w -[A7]
000015B2 486E FF00 pea.l [A6 - 0x100]
000015B6 3F2E FE9A move.w -[A7], [A6 - 0x166]
000015BA 486E FEEC pea.l [A6 - 0x114]
000015BE 4EBA EE2A jsr [PC - 0x11D6 /* 000003EA */]
000015C2 3E1F move.w D7, [A7]+
000015C4 0C47 FFD5 cmpi.w D7, 0xFFD5
000015C8 662C bne +0x2E /* 000015F6 */
000015CA 4267 clr.w -[A7]
000015CC 486E FF00 pea.l [A6 - 0x100]
000015D0 3F2E FE9A move.w -[A7], [A6 - 0x166]
000015D4 2F2E FEA0 move.l -[A7], [A6 - 0x160]
000015D8 2F2E FE9C move.l -[A7], [A6 - 0x164]
000015DC 4EBA EECE jsr [PC - 0x1132 /* 000004AC */]
000015E0 3E1F move.w D7, [A7]+
000015E2 4267 clr.w -[A7]
000015E4 486E FF00 pea.l [A6 - 0x100]
000015E8 3F2E FE9A move.w -[A7], [A6 - 0x166]
000015EC 486E FEEC pea.l [A6 - 0x114]
000015F0 4EBA EDF8 jsr [PC - 0x1208 /* 000003EA */]
000015F4 3E1F move.w D7, [A7]+
label000015F6:
000015F6 4A47 tst.w D7
000015F8 6642 bne +0x44 /* 0000163C */
000015FA 2D6E FEF0 FEF4 move.l [A6 - 0x10C], [A6 - 0x110]
00001600 4267 clr.w -[A7]
00001602 3F2E FEEC move.w -[A7], [A6 - 0x114]
00001606 486E FEF4 pea.l [A6 - 0x10C]
0000160A 2F14 move.l -[A7], [A4]
0000160C 4EBA EE3A jsr [PC - 0x11C6 /* 00000448 */]
00001610 3E1F move.w D7, [A7]+
00001612 4267 clr.w -[A7]
00001614 3F2E FEEC move.w -[A7], [A6 - 0x114]
00001618 2F2E FEF4 move.l -[A7], [A6 - 0x10C]
0000161C 4EBA EEEE jsr [PC - 0x1112 /* 0000050C */]
00001620 3E1F move.w D7, [A7]+
00001622 4A6E FEEC tst.w [A6 - 0x114]
00001626 670C beq +0xE /* 00001634 */
00001628 4267 clr.w -[A7]
0000162A 3F2E FEEC move.w -[A7], [A6 - 0x114]
0000162E 4EBA EDFA jsr [PC - 0x1206 /* 0000042A */]
00001632 3E1F move.w D7, [A7]+
label00001634:
00001634 204C movea.l A0, A4
00001636 A02A syscall HUnlock
00001638 204C movea.l A0, A4
0000163A A023 syscall DisposHandle/DisposeHandle
label0000163C:
0000163C 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00001640 4E5E unlink A6
00001642 4E75 rts
00001644 8E53 or.w D7, [A3]
00001646 6574 bcs +0x76 /* 000016BC */
00001648 5072 6566 addq.w <<invalid full ext with IS == 1 and I/IS == 6>>, 8
0000164C 6572 bcs +0x74 /* 000016C0 */
0000164E 656E bcs +0x70 /* 000016BE */
00001650 6365 bls +0x67 /* 000016B7 */
00001652 7300 moveq.l D1, 0x00
00001654 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001656-0000165A
fn00001656:
00001656 4E56 FFF4 link A6, -0x000C
// end alternate branch 00001656-0000165A
fn00001656: // (misaligned)
00001658 FFF4 .invalid <<F/7/7>>
0000165A 48E7 0138 movem.l -[A7], D7,A2,A3,A4
0000165E 286E 0008 movea.l A4, [A6 + 0x8]
00001662 7E00 moveq.l D7, 0x00
00001664 2D6C 0010 FFF8 move.l [A6 - 0x8], [A4 + 0x10]
0000166A 2D6C 0014 FFFC move.l [A6 - 0x4], [A4 + 0x14]
00001670 486E FFF8 pea.l [A6 - 0x8]
00001674 302E FFFA move.w D0, [A6 - 0x6]
00001678 4440 neg.w D0
0000167A 3F00 move.w -[A7], D0
0000167C 302E FFF8 move.w D0, [A6 - 0x8]
00001680 4440 neg.w D0
00001682 3F00 move.w -[A7], D0
00001684 A8A8 syscall OffsetRect
00001686 486E FFF8 pea.l [A6 - 0x8]
0000168A 3F2E 000E move.w -[A7], [A6 + 0xE]
0000168E 3F2E 000C move.w -[A7], [A6 + 0xC]
00001692 A8A8 syscall OffsetRect
00001694 486E FFF4 pea.l [A6 - 0xC]
00001698 A910 syscall GetWMgrPort
0000169A 42A7 clr.l -[A7]
0000169C A8D8 syscall NewRgn
0000169E 265F movea.l A3, [A7]+
000016A0 42A7 clr.l -[A7]
000016A2 A8D8 syscall NewRgn
000016A4 245F movea.l A2, [A7]+
000016A6 2F0B move.l -[A7], A3
000016A8 486E FFF8 pea.l [A6 - 0x8]
000016AC A8DF syscall RectRgn
000016AE 2F0B move.l -[A7], A3
000016B0 206E FFF4 movea.l A0, [A6 - 0xC]
000016B4 2F28 0018 move.l -[A7], [A0 + 0x18]
000016B8 2F0A move.l -[A7], A2
000016BA A8E4 syscall SectRgn
label000016BC:
000016BC 4227 clr.b -[A7]
label000016BE:
000016BE 2F0B move.l -[A7], A3
label000016C0:
000016C0 2F0A move.l -[A7], A2
000016C2 A8E3 syscall EqualRgn
000016C4 4A1F tst.b [A7]+
000016C6 6702 beq +0x4 /* 000016CA */
000016C8 7E01 moveq.l D7, 0x01
label000016CA:
000016CA 2F0B move.l -[A7], A3
000016CC A8D9 syscall DisposRgn/DisposeRgn
000016CE 2F0A move.l -[A7], A2
000016D0 A8D9 syscall DisposRgn/DisposeRgn
000016D2 4A07 tst.b D7
000016D4 6710 beq +0x12 /* 000016E6 */
000016D6 2F0C move.l -[A7], A4
000016D8 3F2E 000E move.w -[A7], [A6 + 0xE]
000016DC 3F2E 000C move.w -[A7], [A6 + 0xC]
000016E0 4227 clr.b -[A7]
000016E2 A91B syscall MoveWindow
000016E4 600E bra +0x10 /* 000016F4 */
label000016E6:
000016E6 2F0C move.l -[A7], A4
000016E8 3F2E 0012 move.w -[A7], [A6 + 0x12]
000016EC 3F2E 0010 move.w -[A7], [A6 + 0x10]
000016F0 4227 clr.b -[A7]
000016F2 A91B syscall MoveWindow
label000016F4:
000016F4 4CDF 1C80 movem.l D7,A2,A3,A4, [A7]+
000016F8 4E5E unlink A6
000016FA 4E75 rts
000016FC 8E50 or.w D7, [A0]
000016FE 6F73 ble +0x75 /* 00001773 */
00001700 6974 bvs +0x76 /* 00001776 */
00001702 696F bvs +0x71 /* 00001773 */
00001704 6E57 bgt +0x59 /* 0000175D */
00001706 696E bvs +0x70 /* 00001776 */
00001708 646F bcc +0x71 /* 00001779 */
0000170A 7700 moveq.l D3, 0x00
0000170C 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_13: // at 0000170E (misaligned)
00001710 0000 2F0C ori.b D0, 0xC
00001714 286E 000C movea.l A4, [A6 + 0xC]
00001718 206E 0008 movea.l A0, [A6 + 0x8]
0000171C 1890 move.b [A4], [A0]
0000171E 4A14 tst.b [A4]
00001720 6710 beq +0x12 /* 00001732 */
00001722 7000 moveq.l D0, 0x00
00001724 1014 move.b D0, [A4]
00001726 5240 addq.w D0, 1
00001728 48C0 ext.l D0
0000172A 224C movea.l A1, A4
0000172C 206E 0008 movea.l A0, [A6 + 0x8]
00001730 A02E syscall BlockMove/BlockMoveData
label00001732:
00001732 285F movea.l A4, [A7]+
00001734 4E5E unlink A6
00001736 4E75 rts
00001738 8850 or.w D4, [A0]
0000173A 5374 7243 subq.w [A4 + D7.w * 2 + 0x43], 1
0000173E 6F70 ble +0x72 /* 000017B0 */
00001740 7900 moveq.l D4, 0x00
00001742 0000 4E56 ori.b D0, 0x56 /* 'V' */
00001746 0000 48E7 ori.b D0, 0xE7
0000174A 0708 btst A0, D3
0000174C 286E 000C movea.l A4, [A6 + 0xC]
00001750 7E00 moveq.l D7, 0x00
00001752 1E14 move.b D7, [A4]
00001754 206E 0008 movea.l A0, [A6 + 0x8]
00001758 7A00 moveq.l D5, 0x00
0000175A 1A10 move.b D5, [A0]
0000175C 3C05 move.w D6, D5
0000175E DC47 add.w D6, D7
00001760 0C46 00FF cmpi.w D6, 0xFF
00001764 6F0A ble +0xC /* 00001770 */
00001766 3C3C 00FF move.w D6, 0xFF
0000176A 3A3C 00FF move.w D5, 0xFF
0000176E 9A47 sub.w D5, D7
label00001770:
00001770 1886 move.b [A4], D6
00001772 4A45 tst.w D5
00001774 6F12 ble +0x14 /* 00001788 */
label00001776:
00001776 7001 moveq.l D0, 0x01
00001778 D0AE 0008 add.l D0, [A6 + 0x8]
0000177C 2040 movea.l A0, D0
0000177E 43F4 7001 lea.l A1, [A4 + D7.w + 0x1]
00001782 2005 move.l D0, D5
00001784 48C0 ext.l D0
00001786 A02E syscall BlockMove/BlockMoveData
label00001788:
00001788 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
0000178C 4E5E unlink A6
0000178E 4E75 rts
00001790 8750 or.w [A0], D3
00001792 5374 7243 subq.w [A4 + D7.w * 2 + 0x43], 1
00001796 6174 bsr +0x76 /* 0000180C */
00001798 0000 4E56 ori.b D0, 0x56 /* 'V' */
0000179C 0000 48E7 ori.b D0, 0xE7
000017A0 0700 btst D0, D3
000017A2 7A00 moveq.l D5, 0x00
000017A4 206E 0008 movea.l A0, [A6 + 0x8]
000017A8 52AE 0008 addq.l [A6 + 0x8], 1
000017AC 7E00 moveq.l D7, 0x00
000017AE 1E10 move.b D7, [A0]
label000017B0:
000017B0 206E 000C movea.l A0, [A6 + 0xC]
000017B4 52AE 000C addq.l [A6 + 0xC], 1
000017B8 7000 moveq.l D0, 0x00
000017BA 1010 move.b D0, [A0]
000017BC B047 cmp.w D0, D7
000017BE 6624 bne +0x26 /* 000017E4 */
000017C0 7A01 moveq.l D5, 0x01
000017C2 7C01 moveq.l D6, 0x01
000017C4 601A bra +0x1C /* 000017E0 */
label000017C6:
000017C6 206E 0008 movea.l A0, [A6 + 0x8]
000017CA 52AE 0008 addq.l [A6 + 0x8], 1
000017CE 226E 000C movea.l A1, [A6 + 0xC]
000017D2 52AE 000C addq.l [A6 + 0xC], 1
000017D6 1010 move.b D0, [A0]
000017D8 B011 cmp.b D0, [A1]
000017DA 6702 beq +0x4 /* 000017DE */
000017DC 7A00 moveq.l D5, 0x00
label000017DE:
000017DE 5246 addq.w D6, 1
label000017E0:
000017E0 BE46 cmp.w D7, D6
000017E2 6CE2 bge -0x1C /* 000017C6 */
label000017E4:
000017E4 4CDF 00E0 movem.l D5,D6,D7, [A7]+
000017E8 4E5E unlink A6
000017EA 4E75 rts
000017EC 8750 or.w [A0], D3
000017EE 5374 7243 subq.w [A4 + D7.w * 2 + 0x43], 1
000017F2 6D70 blt +0x72 /* 00001864 */
000017F4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000017F6-000017FA
fn000017F6:
000017F6 4E56 FFFC link A6, -0x0004
// end alternate branch 000017F6-000017FA
fn000017F6: // (misaligned)
000017F8 FFFC .invalid <<F/7/7>>
000017FA 2F07 move.l -[A7], D7
000017FC 42A7 clr.l -[A7]
000017FE 3F2E 0008 move.w -[A7], [A6 + 0x8]
00001802 1F2E 000B move.b -[A7], [A6 + 0xB]
00001806 4EBA EB7E jsr [PC - 0x1482 /* 00000386 */]
0000180A 2D5F FFFC move.l [A6 - 0x4], [A7]+
// begin alternate branch 0000180C-0000180E
fn0000180C:
0000180C FFFC .invalid <<F/7/7>>
// end alternate branch 0000180C-0000180E
fn0000180C: // (misaligned)
0000180E 303C A89F move.w D0, 0xA89F
00001812 A146 syscall GetTrapAddress, flags=1
00001814 B1EE FFFC cmpa.l A0, [A6 - 0x4]
00001818 56C7 sne D7
0000181A 4407 neg.b D7
0000181C 1007 move.b D0, D7
0000181E 2E1F move.l D7, [A7]+
00001820 4E5E unlink A6
00001822 4E75 rts
00001824 9243 sub.w D1, D3
00001826 6865 bvc +0x67 /* 0000188D */
00001828 636B bls +0x6D /* 00001895 */
0000182A 5472 6170 4176 6169 addq.w [A2 + 0x41766169], 2
00001832 6C61 bge +0x63 /* 00001895 */
00001834 626C bhi +0x6E /* 000018A2 */
00001836 6500 0000 bcs +0x2 /* 00001838 */
// begin alternate branch 00001838-00001848
label00001838:
00001838 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn0000183A: // (misaligned)
0000183C 0000 48E7 ori.b D0, 0xE7
00001840 0018 286E ori.b [A0]+, 0x6E /* 'n' */
00001844 0008 4254 ori.b A0, 0x54 /* 'T' */
// end alternate branch 00001838-00001848
label00001838: // (misaligned)
fn0000183A:
0000183A 4E56 0000 link A6, 0
0000183E 48E7 0018 movem.l -[A7], A3,A4
00001842 286E 0008 movea.l A4, [A6 + 0x8]
00001846 4254 clr.w [A4]
00001848 4AAD E60A tst.l [A5 - 0x19F6]
0000184C 6752 beq +0x54 /* 000018A0 */
0000184E 206D E60A movea.l A0, [A5 - 0x19F6]
00001852 A029 syscall HLock
00001854 206D E60A movea.l A0, [A5 - 0x19F6]
00001858 2050 movea.l A0, [A0]
0000185A 3890 move.w [A4], [A0]
0000185C 206D E60A movea.l A0, [A5 - 0x19F6]
00001860 2050 movea.l A0, [A0]
00001862 3968 0002 0002 move.w [A4 + 0x2], [A0 + 0x2]
// begin alternate branch 00001864-00001868
label00001864:
00001864 0002 0002 ori.b D2, 0x2
// end alternate branch 00001864-00001868
label00001864: // (misaligned)
00001868 206D E60A movea.l A0, [A5 - 0x19F6]
0000186C 2050 movea.l A0, [A0]
0000186E 2968 0004 0004 move.l [A4 + 0x4], [A0 + 0x4]
00001874 206D E60A movea.l A0, [A5 - 0x19F6]
00001878 2050 movea.l A0, [A0]
0000187A 2968 0008 0008 move.l [A4 + 0x8], [A0 + 0x8]
00001880 206D E60A movea.l A0, [A5 - 0x19F6]
00001884 2050 movea.l A0, [A0]
00001886 2968 000C 000C move.l [A4 + 0xC], [A0 + 0xC]
0000188C 206D E60A movea.l A0, [A5 - 0x19F6]
00001890 2050 movea.l A0, [A0]
00001892 2668 0010 movea.l A3, [A0 + 0x10]
00001896 206D E60A movea.l A0, [A5 - 0x19F6]
0000189A A023 syscall DisposHandle/DisposeHandle
0000189C 2B4B E60A move.l [A5 - 0x19F6], A3
label000018A0:
000018A0 4CDF 1800 movem.l A3,A4, [A7]+
// begin alternate branch 000018A2-000018A4
label000018A2:
000018A2 1800 move.b D4, D0
// end alternate branch 000018A2-000018A4
label000018A2: // (misaligned)
000018A4 4E5E unlink A6
000018A6 4E75 rts
000018A8 8C47 or.w D6, D7
000018AA 6574 bcs +0x76 /* 00001920 */
000018AC 5573 6572 4576 656E 7400 subq.w [[A3 + 0x4576656E] + 0x7400], 2
000018B6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000018B8-000018C2
fn000018B8:
000018B8 4E56 0000 link A6, 0
000018BC 48E7 0018 movem.l -[A7], A3,A4
000018C0 7014 moveq.l D0, 0x14
// end alternate branch 000018B8-000018C2
fn000018B8: // (misaligned)
000018BA 0000 48E7 ori.b D0, 0xE7
000018BE 0018 7014 ori.b [A0]+, 0x14
000018C2 A122 syscall NewHandle, flags=1
000018C4 2848 movea.l A4, A0
000018C6 200C move.l D0, A4
000018C8 6756 beq +0x58 /* 00001920 */
000018CA 204C movea.l A0, A4
000018CC A029 syscall HLock
000018CE 2054 movea.l A0, [A4]
000018D0 30AE 0008 move.w [A0], [A6 + 0x8]
000018D4 2054 movea.l A0, [A4]
000018D6 316E 000A 0002 move.w [A0 + 0x2], [A6 + 0xA]
000018DC 2054 movea.l A0, [A4]
000018DE 216E 000C 0004 move.l [A0 + 0x4], [A6 + 0xC]
000018E4 2054 movea.l A0, [A4]
000018E6 216E 0010 0008 move.l [A0 + 0x8], [A6 + 0x10]
000018EC 2054 movea.l A0, [A4]
000018EE 216E 0014 000C move.l [A0 + 0xC], [A6 + 0x14]
000018F4 2054 movea.l A0, [A4]
000018F6 42A8 0010 clr.l [A0 + 0x10]
000018FA 4AAD E60A tst.l [A5 - 0x19F6]
000018FE 6606 bne +0x8 /* 00001906 */
00001900 2B4C E60A move.l [A5 - 0x19F6], A4
00001904 601A bra +0x1C /* 00001920 */
label00001906:
00001906 266D E60A movea.l A3, [A5 - 0x19F6]
0000190A 6006 bra +0x8 /* 00001912 */
label0000190C:
0000190C 2053 movea.l A0, [A3]
0000190E 2668 0010 movea.l A3, [A0 + 0x10]
label00001912:
00001912 2053 movea.l A0, [A3]
00001914 4AA8 0010 tst.l [A0 + 0x10]
00001918 66F2 bne -0xC /* 0000190C */
0000191A 2053 movea.l A0, [A3]
0000191C 214C 0010 move.l [A0 + 0x10], A4
label00001920:
00001920 4CDF 1800 movem.l A3,A4, [A7]+
00001924 4E5E unlink A6
00001926 4E75 rts
00001928 8D41 6464 pack D6, D1, 0x6464
0000192C 5F55 subq.w [A5], 7
0000192E 7365 moveq.l D1, 0x65
00001930 7245 moveq.l D1, 0x45
00001932 7665 moveq.l D3, 0x65
00001934 6E74 bgt +0x76 /* 000019AA */
00001936 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001938-0000193C
fn00001938:
00001938 4E56 FFFA link A6, -0x0006
// end alternate branch 00001938-0000193C
fn00001938: // (misaligned)
0000193A FFFA .invalid <<F/7/7>>
0000193C 48E7 0108 movem.l -[A7], D7,A4
00001940 4267 clr.w -[A7]
00001942 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001946 A962 syscall GetControlMaximum/GetMaxCtl
00001948 3E1F move.w D7, [A7]+
0000194A 42A7 clr.l -[A7]
0000194C 2F3C 4D45 4E55 move.l -[A7], 0x4D454E55 /* 'MENU' */
00001952 3F07 move.w -[A7], D7
00001954 A81F syscall Get1Resource
00001956 285F movea.l A4, [A7]+
00001958 200C move.l D0, A4
0000195A 6712 beq +0x14 /* 0000196E */
0000195C 2F0C move.l -[A7], A4
0000195E 486E FFFA pea.l [A6 - 0x6]
00001962 486E FFFC pea.l [A6 - 0x4]
00001966 486D E630 pea.l [A5 - 0x19D0]
0000196A A9A8 syscall GetResInfo
0000196C 6004 bra +0x6 /* 00001972 */
label0000196E:
0000196E 422D E630 clr.b [A5 - 0x19D0]
label00001972:
00001972 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001976 486D E630 pea.l [A5 - 0x19D0]
0000197A A95F syscall SetControlTitle/SetCTitle
0000197C 4CDF 1080 movem.l D7,A4, [A7]+
00001980 4E5E unlink A6
00001982 4E75 rts
00001984 8F53 or.w [A3], D7
00001986 6574 bcs +0x76 /* 000019FC */
00001988 4E61 move USP, A1
0000198A 6D65 blt +0x67 /* 000019F1 */
0000198C 466F 7250 not.w [A7 + 0x7250]
00001990 6F70 ble +0x72 /* 00001A02 */
00001992 7570 moveq.l D2, 0x70
00001994 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001996-0000199A
fn00001996:
00001996 4E56 FFFC link A6, -0x0004
// end alternate branch 00001996-0000199A
fn00001996: // (misaligned)
00001998 FFFC .invalid <<F/7/7>>
0000199A 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
0000199E 3E2E 000C move.w D7, [A6 + 0xC]
000019A2 3C2E 000E move.w D6, [A6 + 0xE]
000019A6 3A2E 0010 move.w D5, [A6 + 0x10]
label000019AA:
000019AA 286E 0016 movea.l A4, [A6 + 0x16]
000019AE 7601 moveq.l D3, 0x01
000019B0 6000 009A bra +0x9C /* 00001A4C */
label000019B4:
000019B4 7600 moveq.l D3, 0x00
000019B6 2F0C move.l -[A7], A4
000019B8 3F07 move.w -[A7], D7
000019BA A95D syscall HiliteControl
000019BC 4267 clr.w -[A7]
000019BE 2F0C move.l -[A7], A4
000019C0 A960 syscall GetControlValue/GetCtlValue
000019C2 381F move.w D4, [A7]+
000019C4 0C47 0014 cmpi.w D7, 0x14
000019C8 660A bne +0xC /* 000019D4 */
000019CA 986E 0012 sub.w D4, [A6 + 0x12]
000019CE BC44 cmp.w D6, D4
000019D0 6F02 ble +0x4 /* 000019D4 */
000019D2 3806 move.w D4, D6
label000019D4:
000019D4 0C47 0015 cmpi.w D7, 0x15
000019D8 660A bne +0xC /* 000019E4 */
000019DA D86E 0012 add.w D4, [A6 + 0x12]
000019DE BA44 cmp.w D5, D4
000019E0 6C02 bge +0x4 /* 000019E4 */
000019E2 3805 move.w D4, D5
label000019E4:
000019E4 0C47 0016 cmpi.w D7, 0x16
000019E8 660A bne +0xC /* 000019F4 */
000019EA 986E 0014 sub.w D4, [A6 + 0x14]
000019EE BC44 cmp.w D6, D4
000019F0 6F02 ble +0x4 /* 000019F4 */
000019F2 3806 move.w D4, D6
label000019F4:
000019F4 0C47 0017 cmpi.w D7, 0x17
000019F8 660A bne +0xC /* 00001A04 */
000019FA D86E 0014 add.w D4, [A6 + 0x14]
// begin alternate branch 000019FC-00001A00
label000019FC:
000019FC 0014 BA44 ori.b [A4], 0x44 /* 'D' */
// end alternate branch 000019FC-00001A00
label000019FC: // (misaligned)
000019FE BA44 cmp.w D5, D4
00001A00 6C02 bge +0x4 /* 00001A04 */
label00001A02:
00001A02 3805 move.w D4, D5
label00001A04:
00001A04 0C47 0081 cmpi.w D7, 0x81
00001A08 6616 bne +0x18 /* 00001A20 */
00001A0A 4267 clr.w -[A7]
00001A0C 2F0C move.l -[A7], A4
00001A0E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001A12 42A7 clr.l -[A7]
00001A14 A968 syscall TrackControl
00001A16 3E1F move.w D7, [A7]+
00001A18 4267 clr.w -[A7]
00001A1A 2F0C move.l -[A7], A4
00001A1C A960 syscall GetControlValue/GetCtlValue
00001A1E 381F move.w D4, [A7]+
label00001A20:
00001A20 2F0C move.l -[A7], A4
00001A22 3F04 move.w -[A7], D4
00001A24 A963 syscall SetControlValue/SetCtlValue
00001A26 42A7 clr.l -[A7]
00001A28 A975 syscall TickCount
00001A2A 7009 moveq.l D0, 0x09
00001A2C D09F add.l D0, [A7]+
00001A2E 2D40 FFFC move.l [A6 - 0x4], D0
label00001A32:
00001A32 4227 clr.b -[A7]
00001A34 A974 syscall Button
00001A36 4A1F tst.b [A7]+
00001A38 670C beq +0xE /* 00001A46 */
00001A3A 42A7 clr.l -[A7]
00001A3C A975 syscall TickCount
00001A3E 201F move.l D0, [A7]+
00001A40 B0AE FFFC cmp.l D0, [A6 - 0x4]
00001A44 65EC bcs -0x12 /* 00001A32 */
label00001A46:
00001A46 2F0C move.l -[A7], A4
00001A48 4267 clr.w -[A7]
00001A4A A95D syscall HiliteControl
label00001A4C:
00001A4C 4227 clr.b -[A7]
00001A4E A973 syscall StillDown
00001A50 4A1F tst.b [A7]+
00001A52 6600 FF60 bne -0x9E /* 000019B4 */
00001A56 4A03 tst.b D3
00001A58 6600 FF5A bne -0xA4 /* 000019B4 */
00001A5C 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
00001A60 4E5E unlink A6
00001A62 4E75 rts
00001A64 9048 sub.w D0, A0
00001A66 616E bsr +0x70 /* 00001AD6 */
00001A68 646C bcc +0x6E /* 00001AD6 */
00001A6A 6557 bcs +0x59 /* 00001AC3 */
00001A6C 5363 subq.w -[A3], 1
00001A6E 726F moveq.l D1, 0x6F
00001A70 6C6C bge +0x6E /* 00001ADE */
00001A72 4261 clr.w -[A1]
00001A74 7200 moveq.l D1, 0x00
00001A76 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001A78-00001A7C
fn00001A78:
00001A78 4E56 FFFE link A6, -0x0002
// end alternate branch 00001A78-00001A7C
fn00001A78: // (misaligned)
00001A7A FFFE .invalid <<F/7/7>>
00001A7C 4EAD 03A2 jsr [A5 + 0x3A2 /* export_112 */]
00001A80 4267 clr.w -[A7]
00001A82 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
00001A86 4A5F tst.w [A7]+
00001A88 662C bne +0x2E /* 00001AB6 */
00001A8A 4AAD EA0C tst.l [A5 - 0x15F4]
00001A8E 6612 bne +0x14 /* 00001AA2 */
00001A90 7078 moveq.l D0, 0x78
00001A92 A122 syscall NewHandle, flags=1
00001A94 2B48 EA0C move.l [A5 - 0x15F4], A0
00001A98 A029 syscall HLock
00001A9A 2F2D EA0C move.l -[A7], [A5 - 0x15F4]
00001A9E 4EAD 037A jsr [A5 + 0x37A /* export_107 */]
label00001AA2:
00001AA2 4227 clr.b -[A7]
00001AA4 2F2D EA0C move.l -[A7], [A5 - 0x15F4]
00001AA8 4EAD 0382 jsr [A5 + 0x382 /* export_108 */]
00001AAC 1D5F FFFF move.b [A6 - 0x1], [A7]+
00001AB0 4EAD 03AA jsr [A5 + 0x3AA /* export_113 */]
00001AB4 6006 bra +0x8 /* 00001ABC */
label00001AB6:
00001AB6 3F3C 0001 move.w -[A7], 0x1
00001ABA A9C8 syscall SysBeep
label00001ABC:
00001ABC 4E5E unlink A6
00001ABE 4E75 rts
00001AC0 8950 or.w [A0], D4
00001AC2 6167 bsr +0x69 /* 00001B2B */
00001AC4 6553 bcs +0x55 /* 00001B19 */
00001AC6 6574 bcs +0x76 /* 00001B3C */
00001AC8 7570 moveq.l D2, 0x70
00001ACA 0000 4E56 ori.b D0, 0x56 /* 'V' */
00001ACE FFFE .invalid <<F/7/7>>
00001AD0 4EAD 03A2 jsr [A5 + 0x3A2 /* export_112 */]
00001AD4 4267 clr.w -[A7]
fn00001AD6:
00001AD6 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
00001ADA 4A5F tst.w [A7]+
00001ADC 662C bne +0x2E /* 00001B0A */
label00001ADE:
00001ADE 4AAD EA0C tst.l [A5 - 0x15F4]
00001AE2 6612 bne +0x14 /* 00001AF6 */
00001AE4 7078 moveq.l D0, 0x78
00001AE6 A122 syscall NewHandle, flags=1
00001AE8 2B48 EA0C move.l [A5 - 0x15F4], A0
00001AEC A029 syscall HLock
00001AEE 2F2D EA0C move.l -[A7], [A5 - 0x15F4]
00001AF2 4EAD 037A jsr [A5 + 0x37A /* export_107 */]
label00001AF6:
00001AF6 4227 clr.b -[A7]
00001AF8 2F2D EA0C move.l -[A7], [A5 - 0x15F4]
00001AFC 4EAD 038A jsr [A5 + 0x38A /* export_109 */]
00001B00 1D5F FFFF move.b [A6 - 0x1], [A7]+
00001B04 4EAD 03AA jsr [A5 + 0x3AA /* export_113 */]
00001B08 6006 bra +0x8 /* 00001B10 */
label00001B0A:
00001B0A 3F3C 0001 move.w -[A7], 0x1
00001B0E A9C8 syscall SysBeep
label00001B10:
00001B10 4E5E unlink A6
00001B12 4E75 rts
00001B14 8D50 or.w [A0], D6
00001B16 7269 moveq.l D1, 0x69
00001B18 6E74 bgt +0x76 /* 00001B8E */
00001B1A 4A6F 6253 tst.w [A7 + 0x6253]
00001B1E 6574 bcs +0x76 /* 00001B94 */
00001B20 7570 moveq.l D2, 0x70
00001B22 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_15: // at 00001B24 (misaligned)
00001B26 0000 2F0C ori.b D0, 0xC
00001B2A 286E 0008 movea.l A4, [A6 + 0x8]
00001B2E 4EAD 03A2 jsr [A5 + 0x3A2 /* export_112 */]
00001B32 4267 clr.w -[A7]
00001B34 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
00001B38 4A5F tst.w [A7]+
00001B3A 666A bne +0x6C /* 00001BA6 */
label00001B3C:
00001B3C 422D EA10 clr.b [A5 - 0x15F0]
00001B40 4AAD EA0C tst.l [A5 - 0x15F4]
00001B44 6612 bne +0x14 /* 00001B58 */
00001B46 7078 moveq.l D0, 0x78
00001B48 A122 syscall NewHandle, flags=1
00001B4A 2B48 EA0C move.l [A5 - 0x15F4], A0
00001B4E A029 syscall HLock
00001B50 2F2D EA0C move.l -[A7], [A5 - 0x15F4]
00001B54 4EAD 037A jsr [A5 + 0x37A /* export_107 */]
label00001B58:
00001B58 4227 clr.b -[A7]
00001B5A 2F2D EA0C move.l -[A7], [A5 - 0x15F4]
00001B5E 4EAD 038A jsr [A5 + 0x38A /* export_109 */]
00001B62 189F move.b [A4], [A7]+
00001B64 206D EA0C movea.l A0, [A5 - 0x15F4]
00001B68 2050 movea.l A0, [A0]
00001B6A 3B68 0042 EA3C move.w [A5 - 0x15C4], [A0 + 0x42]
00001B70 4A14 tst.b [A4]
00001B72 57C0 seq D0
00001B74 4400 neg.b D0
00001B76 1880 move.b [A4], D0
00001B78 42AD EA1E clr.l [A5 - 0x15E2]
00001B7C 4A14 tst.b [A4]
00001B7E 6630 bne +0x32 /* 00001BB0 */
00001B80 1B7C 0001 EA10 move.b [A5 - 0x15F0], 0x1
00001B86 3B7C 0001 EA12 move.w [A5 - 0x15EE], 0x1
00001B8C 3B7C 0001 EA14 move.w [A5 - 0x15EC], 0x1
// begin alternate branch 00001B8E-00001B92
label00001B8E:
00001B8E 0001 EA14 ori.b D1, 0x14
// end alternate branch 00001B8E-00001B92
label00001B8E: // (misaligned)
00001B92 42A7 clr.l -[A7]
label00001B94:
00001B94 2F2D EA0C move.l -[A7], [A5 - 0x15F4]
00001B98 42A7 clr.l -[A7]
00001B9A 42A7 clr.l -[A7]
00001B9C 4EAD 036A jsr [A5 + 0x36A /* export_105 */]
00001BA0 2B5F EA1E move.l [A5 - 0x15E2], [A7]+
00001BA4 600A bra +0xC /* 00001BB0 */
label00001BA6:
00001BA6 3F3C 0001 move.w -[A7], 0x1
00001BAA A9C8 syscall SysBeep
00001BAC 18BC 0001 move.b [A4], 0x1
label00001BB0:
00001BB0 285F movea.l A4, [A7]+
00001BB2 4E5E unlink A6
00001BB4 4E75 rts
00001BB6 8E4F or.w D7, A7
00001BB8 7065 moveq.l D0, 0x65
00001BBA 6E54 bgt +0x56 /* 00001C10 */
00001BBC 6865 bvc +0x67 /* 00001C23 */
00001BBE 5072 696E addq.w <<invalid full ext with IS == 1 and I/IS == 6>>, 8
00001BC2 7465 moveq.l D2, 0x65
00001BC4 7200 moveq.l D1, 0x00
00001BC6 0000 4AAD ori.b D0, 0xAD
export_16: // at 00001BC8 (misaligned)
00001BCA EA1E ror D6.b, 5
00001BCC 670C beq +0xE /* 00001BDA */
00001BCE 2F2D EA1E move.l -[A7], [A5 - 0x15E2]
00001BD2 4EAD 0372 jsr [A5 + 0x372 /* export_106 */]
00001BD6 42AD EA1E clr.l [A5 - 0x15E2]
label00001BDA:
00001BDA 4AAD EA0C tst.l [A5 - 0x15F4]
00001BDE 672A beq +0x2C /* 00001C0A */
00001BE0 206D EA0C movea.l A0, [A5 - 0x15F4]
00001BE4 2050 movea.l A0, [A0]
00001BE6 0C28 0001 0044 cmpi.b [A0 + 0x44], 0x1
00001BEC 661C bne +0x1E /* 00001C0A */
00001BEE 4267 clr.w -[A7]
00001BF0 4EAD 039A jsr [A5 + 0x39A /* export_111 */]
00001BF4 4A5F tst.w [A7]+
00001BF6 6612 bne +0x14 /* 00001C0A */
00001BF8 2F2D EA0C move.l -[A7], [A5 - 0x15F4]
00001BFC 42A7 clr.l -[A7]
00001BFE 42A7 clr.l -[A7]
00001C00 42A7 clr.l -[A7]
00001C02 486D EA22 pea.l [A5 - 0x15DE]
00001C06 4EAD 0392 jsr [A5 + 0x392 /* export_110 */]
label00001C0A:
00001C0A 4E75 rts
00001C0C 4E56 FFF2 link A6, -0x000E
label00001C10:
00001C10 2F0C move.l -[A7], A4
00001C12 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001C16 3F2E 000C move.w -[A7], [A6 + 0xC]
00001C1A 486E FFF6 pea.l [A6 - 0xA]
00001C1E 486E FFF2 pea.l [A6 - 0xE]
00001C22 486E FFF8 pea.l [A6 - 0x8]
00001C26 A98D syscall GetDialogItem/GetDItem
00001C28 286E FFF2 movea.l A4, [A6 - 0xE]
00001C2C 4A2E 000E tst.b [A6 + 0xE]
00001C30 6718 beq +0x1A /* 00001C4A */
00001C32 2F0C move.l -[A7], A4
00001C34 302E FFFE move.w D0, [A6 - 0x2]
00001C38 906E FFFA sub.w D0, [A6 - 0x6]
00001C3C 3F00 move.w -[A7], D0
00001C3E 302E FFFC move.w D0, [A6 - 0x4]
00001C42 906E FFF8 sub.w D0, [A6 - 0x8]
00001C46 3F00 move.w -[A7], D0
00001C48 A95C syscall SizeControl
label00001C4A:
00001C4A 206E 0016 movea.l A0, [A6 + 0x16]
00001C4E 20AE FFF8 move.l [A0], [A6 - 0x8]
00001C52 216E FFFC 0004 move.l [A0 + 0x4], [A6 - 0x4]
00001C58 4AAE 001A tst.l [A6 + 0x1A]
00001C5C 6708 beq +0xA /* 00001C66 */
00001C5E 2054 movea.l A0, [A4]
00001C60 216E 001A 001C move.l [A0 + 0x1C], [A6 + 0x1A]
label00001C66:
00001C66 4A6E 001E tst.w [A6 + 0x1E]
00001C6A 6718 beq +0x1A /* 00001C84 */
00001C6C 486D E630 pea.l [A5 - 0x19D0]
00001C70 3F2E 001E move.w -[A7], [A6 + 0x1E]
00001C74 3F3C 0001 move.w -[A7], 0x1
00001C78 4EBA E940 jsr [PC - 0x16C0 /* 000005BA */]
00001C7C 2F0C move.l -[A7], A4
00001C7E 486D E630 pea.l [A5 - 0x19D0]
00001C82 A95F syscall SetControlTitle/SetCTitle
label00001C84:
00001C84 4A2E 0012 tst.b [A6 + 0x12]
00001C88 6708 beq +0xA /* 00001C92 */
00001C8A 2F0C move.l -[A7], A4
00001C8C 4267 clr.w -[A7]
00001C8E A95D syscall HiliteControl
00001C90 6008 bra +0xA /* 00001C9A */
label00001C92:
00001C92 2F0C move.l -[A7], A4
00001C94 3F3C 00FF move.w -[A7], 0xFF
00001C98 A95D syscall HiliteControl
label00001C9A:
00001C9A 4A2E 0014 tst.b [A6 + 0x14]
00001C9E 6708 beq +0xA /* 00001CA8 */
00001CA0 2F0C move.l -[A7], A4
00001CA2 3F3C 3039 move.w -[A7], 0x3039 /* '09' */
00001CA6 A965 syscall SetControlMaximum/SetMaxCtl
label00001CA8:
00001CA8 4A2E 0010 tst.b [A6 + 0x10]
00001CAC 6704 beq +0x6 /* 00001CB2 */
00001CAE 2F0C move.l -[A7], A4
00001CB0 A957 syscall ShowControl
label00001CB2:
00001CB2 285F movea.l A4, [A7]+
00001CB4 4E5E unlink A6
00001CB6 4E75 rts
00001CB8 8C53 or.w D6, [A3]
00001CBA 6574 bcs +0x76 /* 00001D30 */
00001CBC 7570 moveq.l D2, 0x70
00001CBE 5468 6549 addq.w [A0 + 0x6549], 2
00001CC2 7465 moveq.l D2, 0x65
00001CC4 6D00 0000 blt +0x2 /* 00001CC6 */
// begin alternate branch 00001CC6-00001CCC
label00001CC6:
00001CC6 0000 4E56 ori.b D0, 0x56 /* 'V' */
00001CCA FFE8 .invalid <<F/7/7>>
// end alternate branch 00001CC6-00001CCC
label00001CC6: // (misaligned)
00001CC8 4E56 FFE8 link A6, -0x0018
00001CCC 48E7 0018 movem.l -[A7], A3,A4
00001CD0 286E 0008 movea.l A4, [A6 + 0x8]
00001CD4 200C move.l D0, A4
00001CD6 6700 00A6 beq +0xA8 /* 00001D7E */
00001CDA 0C2D 0001 E730 cmpi.b [A5 - 0x18D0], 0x1
00001CE0 6600 009C bne +0x9E /* 00001D7E */
00001CE4 486E FFF8 pea.l [A6 - 0x8]
00001CE8 2F3C 8300 8300 move.l -[A7], 0x83008300
00001CEE 2F3C 7D00 7D00 move.l -[A7], 0x7D007D00 /* '}\0}\0' */
00001CF4 A8A7 syscall SetRect
00001CF6 42A7 clr.l -[A7]
00001CF8 486E FFF8 pea.l [A6 - 0x8]
00001CFC AA27 syscall GetMaxDevice
00001CFE 265F movea.l A3, [A7]+
00001D00 200B move.l D0, A3
00001D02 677A beq +0x7C /* 00001D7E */
00001D04 2053 movea.l A0, [A3]
00001D06 2D68 0022 FFF0 move.l [A6 - 0x10], [A0 + 0x22]
00001D0C 2D68 0026 FFF4 move.l [A6 - 0xC], [A0 + 0x26]
00001D12 2D6C 0010 FFE8 move.l [A6 - 0x18], [A4 + 0x10]
00001D18 2D6C 0014 FFEC move.l [A6 - 0x14], [A4 + 0x14]
00001D1E 302E FFEC move.w D0, [A6 - 0x14]
00001D22 906E FFE8 sub.w D0, [A6 - 0x18]
00001D26 48C0 ext.l D0
00001D28 81FC 0002 divs.w D0, 0x2
00001D2C 322E FFF4 move.w D1, [A6 - 0xC]
label00001D30:
00001D30 926E FFF0 sub.w D1, [A6 - 0x10]
00001D34 48C1 ext.l D1
00001D36 83FC 0002 divs.w D1, 0x2
00001D3A D26E FFF0 add.w D1, [A6 - 0x10]
00001D3E 9240 sub.w D1, D0
00001D40 3D41 FFF8 move.w [A6 - 0x8], D1
00001D44 302E FFEE move.w D0, [A6 - 0x12]
00001D48 906E FFEA sub.w D0, [A6 - 0x16]
00001D4C 48C0 ext.l D0
00001D4E 81FC 0002 divs.w D0, 0x2
00001D52 322E FFF6 move.w D1, [A6 - 0xA]
00001D56 926E FFF2 sub.w D1, [A6 - 0xE]
00001D5A 48C1 ext.l D1
00001D5C 83FC 0002 divs.w D1, 0x2
00001D60 D26E FFF2 add.w D1, [A6 - 0xE]
00001D64 9240 sub.w D1, D0
00001D66 3D41 FFFA move.w [A6 - 0x6], D1
00001D6A 2F0C move.l -[A7], A4
00001D6C 3F2E FFFA move.w -[A7], [A6 - 0x6]
00001D70 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00001D74 1F3C 0001 move.b -[A7], 0x1
00001D78 A91B syscall MoveWindow
00001D7A 2F0C move.l -[A7], A4
00001D7C A873 syscall SetPort
label00001D7E:
00001D7E 4CDF 1800 movem.l A3,A4, [A7]+
00001D82 4E5E unlink A6
00001D84 4E75 rts
00001D86 9343 subx.w D1, D3
00001D88 656E bcs +0x70 /* 00001DF8 */
00001D8A 7465 moveq.l D2, 0x65
00001D8C 724F moveq.l D1, 0x4F
00001D8E 6E43 bgt +0x45 /* 00001DD3 */
00001D90 6F6C ble +0x6E /* 00001DFE */
00001D92 6F72 ble +0x74 /* 00001E06 */
00001D94 5363 subq.w -[A3], 1
00001D96 7265 moveq.l D1, 0x65
00001D98 656E bcs +0x70 /* 00001E08 */
00001D9A 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_17: // at 00001D9C (misaligned)
00001D9E FFF8 .invalid <<F/7/7>>
00001DA0 2F0C move.l -[A7], A4
00001DA2 206E 0008 movea.l A0, [A6 + 0x8]
00001DA6 20AD E570 move.l [A0], [A5 - 0x1A90]
00001DAA 216D E574 0004 move.l [A0 + 0x4], [A5 - 0x1A8C]
00001DB0 99CC sub.l A4, A4
00001DB2 0C2D 0001 E730 cmpi.b [A5 - 0x18D0], 0x1
00001DB8 6630 bne +0x32 /* 00001DEA */
00001DBA 486E FFF8 pea.l [A6 - 0x8]
00001DBE 2F3C 8300 8300 move.l -[A7], 0x83008300
00001DC4 2F3C 7D00 7D00 move.l -[A7], 0x7D007D00 /* '}\0}\0' */
00001DCA A8A7 syscall SetRect
00001DCC 42A7 clr.l -[A7]
00001DCE 486E FFF8 pea.l [A6 - 0x8]
00001DD2 AA27 syscall GetMaxDevice
00001DD4 285F movea.l A4, [A7]+
00001DD6 200C move.l D0, A4
00001DD8 6710 beq +0x12 /* 00001DEA */
00001DDA 2054 movea.l A0, [A4]
00001DDC 226E 0008 movea.l A1, [A6 + 0x8]
00001DE0 22A8 0022 move.l [A1], [A0 + 0x22]
00001DE4 2368 0026 0004 move.l [A1 + 0x4], [A0 + 0x26]
label00001DEA:
00001DEA 285F movea.l A4, [A7]+
00001DEC 4E5E unlink A6
00001DEE 4E75 rts
00001DF0 9947 subx.w D4, D7
00001DF2 6574 bcs +0x76 /* 00001E68 */
00001DF4 4465 neg.w -[A5]
00001DF6 6570 bcs +0x72 /* 00001E68 */
label00001DF8:
00001DF8 6573 bcs +0x75 /* 00001E6D */
00001DFA 7443 moveq.l D2, 0x43
00001DFC 6F6C ble +0x6E /* 00001E6A */
label00001DFE:
00001DFE 6F72 ble +0x74 /* 00001E72 */
00001E00 5363 subq.w -[A3], 1
00001E02 7265 moveq.l D1, 0x65
00001E04 656E bcs +0x70 /* 00001E74 */
label00001E06:
00001E06 5265 addq.w -[A5], 1
label00001E08:
00001E08 6374 bls +0x76 /* 00001E7E */
00001E0A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001E0C-00001E16
fn00001E0C:
00001E0C 4E56 FEE4 link A6, -0x011C
00001E10 4EAD 03B2 jsr [A5 + 0x3B2 /* export_114 */]
00001E14 4E5E unlink A6
// end alternate branch 00001E0C-00001E16
fn00001E0C: // (misaligned)
00001E0E FEE4 4EAD .extension 0xEE4 <<F/2-3/7>> // unimplemented
00001E12 03B2 4E5E bclr [A2 + D4 * 8 + 0x5E], D1
00001E16 4E75 rts
00001E18 8A49 or.w D5, A1
00001E1A 5F50 subq.w [A0], 7
00001E1C 445F neg.w [A7]+
00001E1E 4162 chk.w D0, -[A2]
00001E20 6F75 ble +0x77 /* 00001E97 */
00001E22 7400 moveq.l D2, 0x00
00001E24 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_18: // at 00001E26 (misaligned)
00001E28 FFEA .invalid <<F/7/7>>
00001E2A 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00001E2E 2E2E 0008 move.l D7, [A6 + 0x8]
00001E32 286E 0010 movea.l A4, [A6 + 0x10]
00001E36 266E 000C movea.l A3, [A6 + 0xC]
00001E3A 2F07 move.l -[A7], D7
00001E3C 2F0B move.l -[A7], A3
00001E3E 2F0C move.l -[A7], A4
00001E40 4EAD 03BA jsr [A5 + 0x3BA /* export_115 */]
00001E44 1600 move.b D3, D0
00001E46 0C53 0006 cmpi.w [A3], 0x6
00001E4A 4FEF 000C lea.l A7, [A7 + 0xC]
00001E4E 6616 bne +0x18 /* 00001E66 */
00001E50 B9EB 0002 cmpa.l A4, [A3 + 0x2]
00001E54 6610 bne +0x12 /* 00001E66 */
00001E56 2F0C move.l -[A7], A4
00001E58 A922 syscall BeginUpdate
00001E5A 2F0C move.l -[A7], A4
00001E5C A981 syscall DrawDialog
00001E5E 7601 moveq.l D3, 0x01
00001E60 2047 movea.l A0, D7
00001E62 30BC 7D00 move.w [A0], 0x7D00 /* '}\0' */
label00001E66:
00001E66 0C53 0001 cmpi.w [A3], 0x1
// begin alternate branch 00001E68-00001E6C
label00001E68:
00001E68 0001 660C ori.b D1, 0xC
// end alternate branch 00001E68-00001E6C
label00001E68: // (misaligned)
label00001E6A:
00001E6A 660C bne +0xE /* 00001E78 */
00001E6C 2D6B 000A FFFC move.l [A6 - 0x4], [A3 + 0xA]
label00001E72:
00001E72 486E FFFC pea.l [A6 - 0x4]
// begin alternate branch 00001E74-00001E76
label00001E74:
00001E74 FFFC .invalid <<F/7/7>>
// end alternate branch 00001E74-00001E76
label00001E74: // (misaligned)
00001E76 A871 syscall GlobalToLocal
label00001E78:
00001E78 0C53 0003 cmpi.w [A3], 0x3
00001E7C 6600 00B4 bne +0xB6 /* 00001F32 */
// begin alternate branch 00001E7E-00001E88
label00001E7E:
00001E7E 00B4 3C2B 0004 0246 ori.l [A4 + D0.w * 2 + 0x46], 0x3C2B0004
00001E86 00FF .incomplete
// end alternate branch 00001E7E-00001E88
label00001E7E: // (misaligned)
00001E80 3C2B 0004 move.w D6, [A3 + 0x4]
00001E84 0246 00FF andi.w D6, 0xFF
00001E88 1806 move.b D4, D6
00001E8A 082B 0000 000E btst.b [A3 + 0xE], 0x0
00001E90 56C0 sne D0
00001E92 4400 neg.b D0
00001E94 1D40 FFEB move.b [A6 - 0x15], D0
00001E98 5300 subq.b D0, 1
00001E9A 6644 bne +0x46 /* 00001EE0 */
00001E9C 0C04 0078 cmpi.b D4, 0x78 /* 'x' */
00001EA0 6706 beq +0x8 /* 00001EA8 */
00001EA2 0C04 0058 cmpi.b D4, 0x58 /* 'X' */
00001EA6 660C bne +0xE /* 00001EB4 */
label00001EA8:
00001EA8 2F0C move.l -[A7], A4
00001EAA 4EBA E6E4 jsr [PC - 0x191C /* 00000590 */]
00001EAE 7601 moveq.l D3, 0x01
00001EB0 6000 0080 bra +0x82 /* 00001F32 */
label00001EB4:
00001EB4 0C04 0063 cmpi.b D4, 0x63 /* 'c' */
00001EB8 6706 beq +0x8 /* 00001EC0 */
00001EBA 0C04 0043 cmpi.b D4, 0x43 /* 'C' */
00001EBE 660A bne +0xC /* 00001ECA */
label00001EC0:
00001EC0 2F0C move.l -[A7], A4
00001EC2 4EBA E6D2 jsr [PC - 0x192E /* 00000596 */]
00001EC6 7601 moveq.l D3, 0x01
00001EC8 6068 bra +0x6A /* 00001F32 */
label00001ECA:
00001ECA 0C04 0076 cmpi.b D4, 0x76 /* 'v' */
00001ECE 6706 beq +0x8 /* 00001ED6 */
00001ED0 0C04 0056 cmpi.b D4, 0x56 /* 'V' */
00001ED4 665C bne +0x5E /* 00001F32 */
label00001ED6:
00001ED6 2F0C move.l -[A7], A4
00001ED8 4EBA E6AE jsr [PC - 0x1952 /* 00000588 */]
00001EDC 7601 moveq.l D3, 0x01
00001EDE 6052 bra +0x54 /* 00001F32 */
label00001EE0:
00001EE0 0C46 000D cmpi.w D6, 0xD /* '\r' */
00001EE4 6706 beq +0x8 /* 00001EEC */
00001EE6 0C46 0003 cmpi.w D6, 0x3
00001EEA 6646 bne +0x48 /* 00001F32 */
label00001EEC:
00001EEC 7601 moveq.l D3, 0x01
00001EEE 2047 movea.l A0, D7
00001EF0 30BC 0001 move.w [A0], 0x1
00001EF4 2F0C move.l -[A7], A4
00001EF6 2047 movea.l A0, D7
00001EF8 3F10 move.w -[A7], [A0]
00001EFA 486E FFF2 pea.l [A6 - 0xE]
00001EFE 486E FFEE pea.l [A6 - 0x12]
00001F02 486E FFF4 pea.l [A6 - 0xC]
00001F06 A98D syscall GetDialogItem/GetDItem
00001F08 0C6E 0004 FFF2 cmpi.w [A6 - 0xE], 0x4
00001F0E 6622 bne +0x24 /* 00001F32 */
00001F10 246E FFEE movea.l A2, [A6 - 0x12]
00001F14 2F0A move.l -[A7], A2
00001F16 3F3C 000A move.w -[A7], 0xA /* '\n' */
00001F1A A95D syscall HiliteControl
00001F1C 42A7 clr.l -[A7]
00001F1E A975 syscall TickCount
00001F20 7A0F moveq.l D5, 0x0F
00001F22 DA9F add.l D5, [A7]+
label00001F24:
00001F24 42A7 clr.l -[A7]
00001F26 A975 syscall TickCount
00001F28 BA9F cmp.l D5, [A7]+
00001F2A 62F8 bhi -0x6 /* 00001F24 */
00001F2C 2F0A move.l -[A7], A2
00001F2E 4267 clr.w -[A7]
00001F30 A95D syscall HiliteControl
label00001F32:
00001F32 1D43 0014 move.b [A6 + 0x14], D3
00001F36 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00001F3A 4E5E unlink A6
00001F3C 205F movea.l A0, [A7]+
00001F3E 4FEF 000C lea.l A7, [A7 + 0xC]
00001F42 4ED0 jmp [A0]
00001F44 884D or.w D4, A5
00001F46 7946 moveq.l D4, 0x46
00001F48 696C bvs +0x6E /* 00001FB6 */
00001F4A 7465 moveq.l D2, 0x65
00001F4C 7200 moveq.l D1, 0x00
00001F4E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001F50-00001F54
fn00001F50:
00001F50 4E56 FFDC link A6, -0x0024
// end alternate branch 00001F50-00001F54
fn00001F50: // (misaligned)
00001F52 FFDC .invalid <<F/7/7>>
00001F54 2F2D EAAA move.l -[A7], [A5 - 0x1556]
00001F58 A873 syscall SetPort
00001F5A 2D6D E628 FFF8 move.l [A6 - 0x8], [A5 - 0x19D8]
00001F60 2D6D E62C FFFC move.l [A6 - 0x4], [A5 - 0x19D4]
00001F66 4A2D E730 tst.b [A5 - 0x18D0]
00001F6A 6718 beq +0x1A /* 00001F84 */
00001F6C 486E FFE8 pea.l [A6 - 0x18]
00001F70 AA19 syscall GetForeColor
00001F72 486E FFE2 pea.l [A6 - 0x1E]
00001F76 AA1A syscall GetBackColor
00001F78 486D E73A pea.l [A5 - 0x18C6]
00001F7C AA14 syscall RGBForeColor
00001F7E 486D E740 pea.l [A5 - 0x18C0]
00001F82 AA15 syscall RGBBackColor
label00001F84:
00001F84 2F2D EAAA move.l -[A7], [A5 - 0x1556]
00001F88 3F3C 0001 move.w -[A7], 0x1
00001F8C 486E FFF6 pea.l [A6 - 0xA]
00001F90 486E FFF2 pea.l [A6 - 0xE]
00001F94 486D E628 pea.l [A5 - 0x19D8]
00001F98 A98D syscall GetDialogItem/GetDItem
00001F9A 2F3C 0003 0003 move.l -[A7], 0x30003
00001FA0 A89B syscall PenSize
00001FA2 486D E628 pea.l [A5 - 0x19D8]
00001FA6 2F3C FFFC FFFC move.l -[A7], 0xFFFCFFFC
00001FAC A8A9 syscall InsetRect
00001FAE 486D E628 pea.l [A5 - 0x19D8]
00001FB2 2F3C 0010 0010 move.l -[A7], 0x100010
// begin alternate branch 00001FB6-00001FBA
label00001FB6:
00001FB6 0010 A8B0 ori.b [A0], 0xB0
// end alternate branch 00001FB6-00001FBA
label00001FB6: // (misaligned)
00001FB8 A8B0 syscall FrameRoundRect
00001FBA 2F3C 0001 0001 move.l -[A7], 0x10001
00001FC0 A89B syscall PenSize
00001FC2 2F3C 0032 000A move.l -[A7], 0x32000A /* '2\0\n' */
00001FC8 A893 syscall MoveTo
00001FCA 2F3C 0032 013F move.l -[A7], 0x32013F
00001FD0 A891 syscall LineTo
00001FD2 2B6E FFF8 E628 move.l [A5 - 0x19D8], [A6 - 0x8]
00001FD8 2B6E FFFC E62C move.l [A5 - 0x19D4], [A6 - 0x4]
00001FDE 4A2D E730 tst.b [A5 - 0x18D0]
00001FE2 670C beq +0xE /* 00001FF0 */
00001FE4 486E FFE8 pea.l [A6 - 0x18]
00001FE8 AA14 syscall RGBForeColor
00001FEA 486E FFE2 pea.l [A6 - 0x1E]
00001FEE AA15 syscall RGBBackColor
label00001FF0:
00001FF0 2F2D EAAA move.l -[A7], [A5 - 0x1556]
00001FF4 4EAD 03C2 jsr [A5 + 0x3C2 /* export_116 */]
00001FF8 4E5E unlink A6
00001FFA 4E75 rts
00001FFC 8E52 or.w D7, [A2]
00001FFE 6566 bcs +0x68 /* 00002066 */
00002000 7265 moveq.l D1, 0x65
00002002 7368 moveq.l D1, 0x68
00002004 5F44 subq.w D4, 7
00002006 6961 bvs +0x63 /* 00002069 */
00002008 6C6F bge +0x71 /* 00002079 */
0000200A 6700 0000 beq +0x2 /* 0000200C */
// begin alternate branch 0000200C-00002016
label0000200C:
0000200C 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn0000200E: // (misaligned)
00002010 FEE0 486D .extension 0xEE0 <<F/2-3/7>> // unimplemented
00002014 EAB2 roxr D2, D5
// end alternate branch 0000200C-00002016
label0000200C: // (misaligned)
fn0000200E:
0000200E 4E56 FEE0 link A6, -0x0120
00002012 486D EAB2 pea.l [A5 - 0x154E]
00002016 A874 syscall GetPort
00002018 1B7C 0001 E732 move.b [A5 - 0x18CE], 0x1
0000201E 42A7 clr.l -[A7]
00002020 3F3C 0100 move.w -[A7], 0x100
00002024 42A7 clr.l -[A7]
00002026 4878 FFFF push.l 0xFFFF
0000202A A97C syscall GetNewDialog
0000202C 2B5F EAAA move.l [A5 - 0x1556], [A7]+
00002030 2B6D EAAA EAAE move.l [A5 - 0x1552], [A5 - 0x1556]
00002036 206D EAAA movea.l A0, [A5 - 0x1556]
0000203A 2D68 0010 FFF8 move.l [A6 - 0x8], [A0 + 0x10]
00002040 2D68 0014 FFFC move.l [A6 - 0x4], [A0 + 0x14]
00002046 302E FFFC move.w D0, [A6 - 0x4]
0000204A 906E FFF8 sub.w D0, [A6 - 0x8]
0000204E 322D E574 move.w D1, [A5 - 0x1A8C]
00002052 926D E570 sub.w D1, [A5 - 0x1A90]
00002056 9240 sub.w D1, D0
00002058 48C1 ext.l D1
0000205A 83FC 0002 divs.w D1, 0x2
0000205E 3D41 FFF8 move.w [A6 - 0x8], D1
00002062 302E FFFE move.w D0, [A6 - 0x2]
label00002066:
00002066 906E FFFA sub.w D0, [A6 - 0x6]
0000206A 322D E576 move.w D1, [A5 - 0x1A8A]
0000206E 926D E572 sub.w D1, [A5 - 0x1A8E]
00002072 9240 sub.w D1, D0
00002074 48C1 ext.l D1
00002076 83FC 0002 divs.w D1, 0x2
0000207A 3D41 FFFA move.w [A6 - 0x6], D1
0000207E 2F08 move.l -[A7], A0
00002080 3F2E FFFA move.w -[A7], [A6 - 0x6]
00002084 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00002088 1F3C 0001 move.b -[A7], 0x1
0000208C A91B syscall MoveWindow
0000208E 2F2D EAAA move.l -[A7], [A5 - 0x1556]
00002092 A873 syscall SetPort
00002094 422D EAA2 clr.b [A5 - 0x155E]
00002098 2F2D EAAA move.l -[A7], [A5 - 0x1556]
0000209C 4EAD 03CA jsr [A5 + 0x3CA /* export_117 */]
000020A0 2EAD EAAA move.l [A7], [A5 - 0x1556]
000020A4 A915 syscall ShowWindow
000020A6 2F2D EAAA move.l -[A7], [A5 - 0x1556]
000020AA A91F syscall SelectWindow
label000020AC:
000020AC 486D 00B2 pea.l [A5 + 0xB2 /* export_18 */]
000020B0 486E FEEA pea.l [A6 - 0x116]
000020B4 A991 syscall ModalDialog
000020B6 486D EAA2 pea.l [A5 - 0x155E]
000020BA 486E FEEA pea.l [A6 - 0x116]
000020BE 2F2D EAAA move.l -[A7], [A5 - 0x1556]
000020C2 4EAD 03D2 jsr [A5 + 0x3D2 /* export_118 */]
000020C6 0C6E 7D00 FEEA cmpi.w [A6 - 0x116], 0x7D00 /* '}\0' */
000020CC 4FEF 000C lea.l A7, [A7 + 0xC]
000020D0 660C bne +0xE /* 000020DE */
000020D2 4EBA FE7C jsr [PC - 0x184 /* 00001F50 */]
000020D6 2F2D EAAA move.l -[A7], [A5 - 0x1556]
000020DA A923 syscall EndUpdate
000020DC 601C bra +0x1E /* 000020FA */
label000020DE:
000020DE 2F2D EAAA move.l -[A7], [A5 - 0x1556]
000020E2 3F2E FEEA move.w -[A7], [A6 - 0x116]
000020E6 486E FFF6 pea.l [A6 - 0xA]
000020EA 486E FFF0 pea.l [A6 - 0x10]
000020EE 486E FFF8 pea.l [A6 - 0x8]
000020F2 A98D syscall GetDialogItem/GetDItem
000020F4 2D6E FFF0 FEE0 move.l [A6 - 0x120], [A6 - 0x10]
label000020FA:
000020FA 0C6E 0001 FEEA cmpi.w [A6 - 0x116], 0x1
00002100 6606 bne +0x8 /* 00002108 */
00002102 1B7C 0001 EAA2 move.b [A5 - 0x155E], 0x1
label00002108:
00002108 4A2D EAA2 tst.b [A5 - 0x155E]
0000210C 679E beq -0x60 /* 000020AC */
0000210E 2F2D EAAA move.l -[A7], [A5 - 0x1556]
00002112 4EAD 03DA jsr [A5 + 0x3DA /* export_119 */]
00002116 2EAD EAB2 move.l [A7], [A5 - 0x154E]
0000211A A873 syscall SetPort
0000211C 2F2D EAAA move.l -[A7], [A5 - 0x1556]
00002120 A983 syscall DisposeDialog
00002122 422D E732 clr.b [A5 - 0x18CE]
00002126 4E5E unlink A6
00002128 4E75 rts
0000212A 894D 5044 pack -[A4], -[A5], 0x5044
0000212E 5F41 subq.w D1, 7
00002130 626F bhi +0x71 /* 000021A1 */
00002132 7574 moveq.l D2, 0x74
00002134 0000 A934 ori.b D0, 0x34 /* '4' */
// begin alternate branch 00002136-00002138
fn00002136:
00002136 A934 syscall ClearMenuBar
// end alternate branch 00002136-00002138
fn00002136: // (misaligned)
00002138 42A7 clr.l -[A7]
0000213A 3F3C 0100 move.w -[A7], 0x100
0000213E A9BF syscall GetRMenu
00002140 2B5F EA3E move.l [A5 - 0x15C2], [A7]+
00002144 2F2D EA3E move.l -[A7], [A5 - 0x15C2]
00002148 4267 clr.w -[A7]
0000214A A935 syscall InsertMenu
0000214C 2F2D EA3E move.l -[A7], [A5 - 0x15C2]
00002150 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
00002156 A94D syscall AppendResMenu/AddResMenu
00002158 42A7 clr.l -[A7]
0000215A 3F3C 0101 move.w -[A7], 0x101
0000215E A9BF syscall GetRMenu
00002160 2B5F EA42 move.l [A5 - 0x15BE], [A7]+
00002164 2F2D EA42 move.l -[A7], [A5 - 0x15BE]
00002168 4267 clr.w -[A7]
0000216A A935 syscall InsertMenu
0000216C 42A7 clr.l -[A7]
0000216E 3F3C 0102 move.w -[A7], 0x102
00002172 A9BF syscall GetRMenu
00002174 2B5F EA46 move.l [A5 - 0x15BA], [A7]+
00002178 2F2D EA46 move.l -[A7], [A5 - 0x15BA]
0000217C 4267 clr.w -[A7]
0000217E A935 syscall InsertMenu
00002180 42A7 clr.l -[A7]
00002182 3F3C 0103 move.w -[A7], 0x103
00002186 A9BF syscall GetRMenu
00002188 2B5F EA4A move.l [A5 - 0x15B6], [A7]+
0000218C 2F2D EA4A move.l -[A7], [A5 - 0x15B6]
00002190 4267 clr.w -[A7]
00002192 A935 syscall InsertMenu
00002194 4EAD 02EA jsr [A5 + 0x2EA /* export_89 */]
00002198 A937 syscall DrawMenuBar
0000219A 4E75 rts
fn0000219C:
0000219C 4E56 FEF8 link A6, -0x0108
000021A0 2F07 move.l -[A7], D7
000021A2 3E2E 0008 move.w D7, [A6 + 0x8]
000021A6 422E FFFF clr.b [A6 - 0x1]
000021AA 486E FFFF pea.l [A6 - 0x1]
000021AE 3F07 move.w -[A7], D7
000021B0 1F3C 0001 move.b -[A7], 0x1
000021B4 4EAD 02F2 jsr [A5 + 0x2F2 /* export_90 */]
000021B8 4A2E FFFF tst.b [A6 - 0x1]
000021BC 508F addq.l A7, 8
000021BE 6634 bne +0x36 /* 000021F4 */
000021C0 3007 move.w D0, D7
000021C2 670C beq +0xE /* 000021D0 */
000021C4 6B0A bmi +0xC /* 000021D0 */
000021C6 5540 subq.w D0, 2
000021C8 6A06 bpl +0x8 /* 000021D0 */
000021CA 4EBA FE42 jsr [PC - 0x1BE /* 0000200E */]
000021CE 6024 bra +0x26 /* 000021F4 */
label000021D0:
000021D0 486E FEFA pea.l [A6 - 0x106]
000021D4 A874 syscall GetPort
000021D6 2F2D EA3E move.l -[A7], [A5 - 0x15C2]
000021DA 3F07 move.w -[A7], D7
000021DC 486E FEFE pea.l [A6 - 0x102]
000021E0 A946 syscall GetMenuItemText/GetItem
000021E2 4267 clr.w -[A7]
000021E4 486E FEFE pea.l [A6 - 0x102]
000021E8 A9B6 syscall OpenDeskAcc
000021EA 3D5F FEF8 move.w [A6 - 0x108], [A7]+
000021EE 2F2E FEFA move.l -[A7], [A6 - 0x106]
000021F2 A873 syscall SetPort
label000021F4:
000021F4 486E FFFF pea.l [A6 - 0x1]
000021F8 3F07 move.w -[A7], D7
000021FA 4227 clr.b -[A7]
000021FC 4EAD 02F2 jsr [A5 + 0x2F2 /* export_90 */]
00002200 2E2E FEF4 move.l D7, [A6 - 0x10C]
00002204 4E5E unlink A6
00002206 4E75 rts
00002208 8B44 6F4D pack D5, D4, 0x6F4D
0000220C 656E bcs +0x70 /* 0000227C */
0000220E 7541 moveq.l D2, 0x41
00002210 7070 moveq.l D0, 0x70
00002212 6C65 bge +0x67 /* 00002279 */
00002214 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002216-0000221A
fn00002216:
00002216 4E56 FFFE link A6, -0x0002
// end alternate branch 00002216-0000221A
fn00002216: // (misaligned)
00002218 FFFE .invalid <<F/7/7>>
0000221A 422E FFFF clr.b [A6 - 0x1]
0000221E 486E FFFF pea.l [A6 - 0x1]
00002222 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002226 1F3C 0001 move.b -[A7], 0x1
0000222A 4EAD 02FA jsr [A5 + 0x2FA /* export_91 */]
0000222E 4A2E FFFF tst.b [A6 - 0x1]
00002232 508F addq.l A7, 8
00002234 6628 bne +0x2A /* 0000225E */
00002236 302E 0008 move.w D0, [A6 + 0x8]
0000223A 0C40 0007 cmpi.w D0, 0x7
0000223E 621E bhi +0x20 /* 0000225E */
00002240 43FA 003C lea.l A1, [PC + 0x3C /* 0000227E, value 0xFFE0FFE0 */]
00002244 D040 add.w D0, D0
00002246 D2F1 0000 add.w A1, [A1 + D0.w]
0000224A 4ED1 jmp [A1]
0000224C 4EBA F82A jsr [PC - 0x7D6 /* 00001A78 */]
00002250 600C bra +0xE /* 0000225E */
00002252 4EAD 0212 jsr [A5 + 0x212 /* export_62 */]
00002256 6006 bra +0x8 /* 0000225E */
00002258 1B7C 0001 E622 move.b [A5 - 0x19DE], 0x1
label0000225E:
0000225E 486E FFFF pea.l [A6 - 0x1]
00002262 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002266 4227 clr.b -[A7]
00002268 4EAD 02FA jsr [A5 + 0x2FA /* export_91 */]
0000226C 4E5E unlink A6
0000226E 4E75 rts
00002270 8A44 or.w D5, D4
00002272 6F4D ble +0x4F /* 000022C1 */
00002274 656E bcs +0x70 /* 000022E4 */
00002276 7546 moveq.l D2, 0x46
00002278 696C bvs +0x6E /* 000022E6 */
0000227A 6500 0010 bcs +0x12 /* 0000228C */
// begin alternate branch 0000227C-00002280
label0000227C:
0000227C 0010 FFE0 ori.b [A0], 0xE0
// end alternate branch 0000227C-00002280
label0000227C: // (misaligned)
0000227E FFE0 .invalid <<F/7/7>>
00002280 FFE0 .invalid <<F/7/7>>
00002282 FFE0 .invalid <<F/7/7>>
00002284 FFE0 .invalid <<F/7/7>>
00002286 FFCE .invalid <<F/7/7>>
00002288 FFD4 .invalid <<F/7/7>>
0000228A FFE0 .invalid <<F/7/7>>
label0000228C:
0000228C FFDA .invalid <<F/7/7>>
fn0000228E:
0000228E 4E56 FFFE link A6, -0x0002
00002292 48E7 0300 movem.l -[A7], D6,D7
00002296 3E2E 0008 move.w D7, [A6 + 0x8]
0000229A 422E FFFF clr.b [A6 - 0x1]
0000229E 486E FFFF pea.l [A6 - 0x1]
000022A2 3F07 move.w -[A7], D7
000022A4 1F3C 0001 move.b -[A7], 0x1
000022A8 4EAD 0302 jsr [A5 + 0x302 /* export_92 */]
000022AC 4A2E FFFF tst.b [A6 - 0x1]
000022B0 508F addq.l A7, 8
000022B2 6624 bne +0x26 /* 000022D8 */
000022B4 4227 clr.b -[A7]
000022B6 70FF moveq.l D0, 0xFFFFFFFF
000022B8 D047 add.w D0, D7
000022BA 3F00 move.w -[A7], D0
000022BC A9C2 syscall SysEdit
000022BE 1C1F move.b D6, [A7]+
000022C0 4A06 tst.b D6
000022C2 6614 bne +0x16 /* 000022D8 */
000022C4 3007 move.w D0, D7
000022C6 0C40 0006 cmpi.w D0, 0x6
000022CA 620C bhi +0xE /* 000022D8 */
000022CC 43FA 002E lea.l A1, [PC + 0x2E /* 000022FC, value 0xFFDCFFDC */]
000022D0 D040 add.w D0, D0
000022D2 D2F1 0000 add.w A1, [A1 + D0.w]
000022D6 4ED1 jmp [A1]
label000022D8:
000022D8 486E FFFF pea.l [A6 - 0x1]
000022DC 3F07 move.w -[A7], D7
000022DE 4227 clr.b -[A7]
000022E0 4EAD 0302 jsr [A5 + 0x302 /* export_92 */]
label000022E4:
000022E4 4CEE 00C0 FFF6 movem.l D6,D7, [A6 - 0xA]
// begin alternate branch 000022E6-000022EA
label000022E6:
000022E6 00C0 .incomplete
000022E8 FFF6 .invalid <<F/7/7>>
// end alternate branch 000022E6-000022EA
label000022E6: // (misaligned)
000022EA 4E5E unlink A6
000022EC 4E75 rts
000022EE 8A44 or.w D5, D4
000022F0 6F4D ble +0x4F /* 0000233F */
000022F2 656E bcs +0x70 /* 00002362 */
000022F4 7545 moveq.l D2, 0x45
000022F6 6469 bcc +0x6B /* 00002361 */
000022F8 7400 moveq.l D2, 0x00
000022FA 000E FFDC ori.b A6, 0xDC
000022FE FFDC .invalid <<F/7/7>>
00002300 FFDC .invalid <<F/7/7>>
00002302 FFDC .invalid <<F/7/7>>
00002304 FFDC .invalid <<F/7/7>>
00002306 FFDC .invalid <<F/7/7>>
00002308 FFDC .invalid <<F/7/7>>
fn0000230A:
0000230A 4E56 FFFE link A6, -0x0002
0000230E 422E FFFF clr.b [A6 - 0x1]
00002312 486E FFFF pea.l [A6 - 0x1]
00002316 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000231A 1F3C 0001 move.b -[A7], 0x1
0000231E 4EAD 030A jsr [A5 + 0x30A /* export_93 */]
00002322 4A2E FFFF tst.b [A6 - 0x1]
00002326 508F addq.l A7, 8
00002328 665C bne +0x5E /* 00002386 */
0000232A 302E 0008 move.w D0, [A6 + 0x8]
0000232E 6756 beq +0x58 /* 00002386 */
00002330 6B54 bmi +0x56 /* 00002386 */
00002332 5940 subq.w D0, 4
00002334 6726 beq +0x28 /* 0000235C */
00002336 6A08 bpl +0xA /* 00002340 */
00002338 5440 addq.w D0, 2
0000233A 674A beq +0x4C /* 00002386 */
0000233C 6A48 bpl +0x4A /* 00002386 */
0000233E 6006 bra +0x8 /* 00002346 */
label00002340:
00002340 5540 subq.w D0, 2
00002342 6A42 bpl +0x44 /* 00002386 */
00002344 602C bra +0x2E /* 00002372 */
label00002346:
00002346 42A7 clr.l -[A7]
00002348 42A7 clr.l -[A7]
0000234A 42A7 clr.l -[A7]
0000234C 2F3C 0001 0105 move.l -[A7], 0x10105
00002352 4EBA F564 jsr [PC - 0xA9C /* 000018B8 */]
00002356 4FEF 0010 lea.l A7, [A7 + 0x10]
0000235A 602A bra +0x2C /* 00002386 */
label0000235C:
0000235C 42A7 clr.l -[A7]
0000235E 42A7 clr.l -[A7]
00002360 42A7 clr.l -[A7]
label00002362:
00002362 2F3C 0001 0106 move.l -[A7], 0x10106
00002368 4EBA F54E jsr [PC - 0xAB2 /* 000018B8 */]
0000236C 4FEF 0010 lea.l A7, [A7 + 0x10]
00002370 6014 bra +0x16 /* 00002386 */
label00002372:
00002372 42A7 clr.l -[A7]
00002374 42A7 clr.l -[A7]
00002376 42A7 clr.l -[A7]
00002378 2F3C 0001 0107 move.l -[A7], 0x10107
0000237E 4EBA F538 jsr [PC - 0xAC8 /* 000018B8 */]
00002382 4FEF 0010 lea.l A7, [A7 + 0x10]
label00002386:
00002386 486E FFFF pea.l [A6 - 0x1]
0000238A 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000238E 4227 clr.b -[A7]
00002390 4EAD 030A jsr [A5 + 0x30A /* export_93 */]
00002394 4E5E unlink A6
00002396 4E75 rts
00002398 8C44 or.w D6, D4
0000239A 6F4D ble +0x4F /* 000023E9 */
0000239C 656E bcs +0x70 /* 0000240C */
0000239E 7541 moveq.l D2, 0x41
000023A0 6374 bls +0x76 /* 00002416 */
000023A2 696F bvs +0x71 /* 00002413 */
000023A4 6E00 0000 bgt +0x2 /* 000023A6 */
// begin alternate branch 000023A6-000023AE
label000023A6:
000023A6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_19: // at 000023A8 (misaligned)
fn000023A8: // (misaligned)
000023AA 0000 2F07 ori.b D0, 0x7
// end alternate branch 000023A6-000023AE
export_19:
label000023A6: // (misaligned)
fn000023A8:
000023A8 4E56 0000 link A6, 0
000023AC 2F07 move.l -[A7], D7
000023AE 3E2E 000A move.w D7, [A6 + 0xA]
000023B2 302E 0008 move.w D0, [A6 + 0x8]
000023B6 6B3E bmi +0x40 /* 000023F6 */
000023B8 0440 0102 subi.w D0, 0x102
000023BC 6724 beq +0x26 /* 000023E2 */
000023BE 6A08 bpl +0xA /* 000023C8 */
000023C0 5440 addq.w D0, 2
000023C2 670A beq +0xC /* 000023CE */
000023C4 6A12 bpl +0x14 /* 000023D8 */
000023C6 602E bra +0x30 /* 000023F6 */
label000023C8:
000023C8 5540 subq.w D0, 2
000023CA 6A2A bpl +0x2C /* 000023F6 */
000023CC 601E bra +0x20 /* 000023EC */
label000023CE:
000023CE 3F07 move.w -[A7], D7
000023D0 4EBA FDCA jsr [PC - 0x236 /* 0000219C */]
000023D4 548F addq.l A7, 2
000023D6 602A bra +0x2C /* 00002402 */
label000023D8:
000023D8 3F07 move.w -[A7], D7
000023DA 4EBA FE3A jsr [PC - 0x1C6 /* 00002216 */]
000023DE 548F addq.l A7, 2
000023E0 6020 bra +0x22 /* 00002402 */
label000023E2:
000023E2 3F07 move.w -[A7], D7
000023E4 4EBA FEA8 jsr [PC - 0x158 /* 0000228E */]
000023E8 548F addq.l A7, 2
000023EA 6016 bra +0x18 /* 00002402 */
label000023EC:
000023EC 3F07 move.w -[A7], D7
000023EE 4EBA FF1A jsr [PC - 0xE6 /* 0000230A */]
000023F2 548F addq.l A7, 2
000023F4 600C bra +0xE /* 00002402 */
label000023F6:
000023F6 3F07 move.w -[A7], D7
000023F8 3F2E 0008 move.w -[A7], [A6 + 0x8]
000023FC 4EAD 0312 jsr [A5 + 0x312 /* export_94 */]
00002400 588F addq.l A7, 4
label00002402:
00002402 4267 clr.w -[A7]
00002404 A938 syscall HiliteMenu
00002406 2E1F move.l D7, [A7]+
00002408 4E5E unlink A6
0000240A 4E75 rts
label0000240C:
0000240C 8E48 or.w D7, A0
0000240E 616E bsr +0x70 /* 0000247E */
00002410 646C bcc +0x6E /* 0000247E */
00002412 655F bcs +0x61 /* 00002473 */
00002414 4D79 5F4D 656E chk.w D6, [0x5F4D656E]
// begin alternate branch 00002416-0000241A
label00002416:
00002416 5F4D subq.w A5, 7
00002418 656E bcs +0x70 /* 00002488 */
// end alternate branch 00002416-0000241A
label00002416: // (misaligned)
0000241A 7500 moveq.l D2, 0x00
0000241C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000241E-00002422
fn0000241E:
0000241E 4E56 FFFC link A6, -0x0004
// end alternate branch 0000241E-00002422
fn0000241E: // (misaligned)
00002420 FFFC .invalid <<F/7/7>>
00002422 42A7 clr.l -[A7]
00002424 2F2E 000A move.l -[A7], [A6 + 0xA]
00002428 A95A syscall GetControlReference/GetCRefCon
0000242A 2D5F FFFC move.l [A6 - 0x4], [A7]+
0000242E 486E 000E pea.l [A6 + 0xE]
00002432 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002436 486E FFFC pea.l [A6 - 0x4]
0000243A 4EAD 0192 jsr [A5 + 0x192 /* export_46 */]
0000243E 202E FFFC move.l D0, [A6 - 0x4]
00002442 4FEF 000A lea.l A7, [A7 + 0xA]
00002446 6B2A bmi +0x2C /* 00002472 */
00002448 0480 0000 0262 subi.l D0, 0x262
0000244E 6702 beq +0x4 /* 00002452 */
00002450 6020 bra +0x22 /* 00002472 */
label00002452:
00002452 2F2E 000A move.l -[A7], [A6 + 0xA]
00002456 2F3C 0001 000A move.l -[A7], 0x1000A
0000245C 2F3C 0001 0064 move.l -[A7], 0x10064
00002462 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002466 2F2E 000E move.l -[A7], [A6 + 0xE]
0000246A 4EBA F52A jsr [PC - 0xAD6 /* 00001996 */]
0000246E 4FEF 0012 lea.l A7, [A7 + 0x12]
label00002472:
00002472 4E5E unlink A6
00002474 4E75 rts
00002476 8E44 or.w D7, D4
00002478 6F5F ble +0x61 /* 000024D9 */
0000247A 415F chk.w D0, [A7]+
0000247C 5363 subq.w -[A3], 1
fn0000247E:
0000247E 726F moveq.l D1, 0x6F
00002480 6C6C bge +0x6E /* 000024EE */
00002482 4261 clr.w -[A1]
00002484 7200 moveq.l D1, 0x00
00002486 0000 42AD ori.b D0, 0xAD
// begin alternate branch 00002488-0000248C
fn00002488:
00002488 42AD EA4E clr.l [A5 - 0x15B2]
// end alternate branch 00002488-0000248C
fn00002488: // (misaligned)
0000248A EA4E lsr D6.w, 5
0000248C 42AD EAB6 clr.l [A5 - 0x154A]
00002490 42AD EABA clr.l [A5 - 0x1546]
00002494 3B7C FFFF EABE move.w [A5 - 0x1542], 0xFFFF
0000249A 3B7C FFFF EAC0 move.w [A5 - 0x1540], 0xFFFF
000024A0 3B7C FFFF EAC2 move.w [A5 - 0x153E], 0xFFFF
000024A6 3B7C 0144 E5FC move.w [A5 - 0x1A04], 0x144
000024AC 3B7C 0124 E5FA move.w [A5 - 0x1A06], 0x124
000024B2 4EAD 0152 jsr [A5 + 0x152 /* export_38 */]
000024B6 4E75 rts
fn000024B8:
000024B8 4E56 0000 link A6, 0
000024BC 4AAD EA4E tst.l [A5 - 0x15B2]
000024C0 6734 beq +0x36 /* 000024F6 */
000024C2 202D EA4E move.l D0, [A5 - 0x15B2]
000024C6 B0AE 0008 cmp.l D0, [A6 + 0x8]
000024CA 6708 beq +0xA /* 000024D4 */
000024CC 70FF moveq.l D0, 0xFFFFFFFF
000024CE B0AE 0008 cmp.l D0, [A6 + 0x8]
000024D2 6622 bne +0x24 /* 000024F6 */
label000024D4:
000024D4 4EAD 015A jsr [A5 + 0x15A /* export_39 */]
000024D8 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
000024DC A873 syscall SetPort
000024DE 426D E5FC clr.w [A5 - 0x1A04]
000024E2 426D E5FA clr.w [A5 - 0x1A06]
000024E6 486D E5FA pea.l [A5 - 0x1A06]
000024EA A870 syscall LocalToGlobal
000024EC 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
// begin alternate branch 000024EE-000024F0
label000024EE:
000024EE EA4E lsr D6.w, 5
// end alternate branch 000024EE-000024F0
label000024EE: // (misaligned)
000024F0 A914 syscall DisposeWindow
000024F2 42AD EA4E clr.l [A5 - 0x15B2]
label000024F6:
000024F6 4E5E unlink A6
000024F8 4E75 rts
000024FA 9543 subx.w D2, D3
000024FC 6C6F bge +0x71 /* 0000256D */
000024FE 7365 moveq.l D1, 0x65
00002500 5F43 subq.w D3, 7
00002502 4452 neg.w [A2]
00002504 4F4D chk.w D7, A5
00002506 5F53 subq.w [A3], 7
00002508 696D bvs +0x6F /* 00002577 */
0000250A 756C moveq.l D2, 0x6C
0000250C 6174 bsr +0x76 /* 00002582 */
0000250E 696F bvs +0x71 /* 0000257F */
00002510 0000 4E56 ori.b D0, 0x56 /* 'V' */
00002514 FFF2 .invalid <<F/7/7>>
00002516 202D EA4E move.l D0, [A5 - 0x15B2]
0000251A B0AE 000C cmp.l D0, [A6 + 0xC]
0000251E 6636 bne +0x38 /* 00002556 */
00002520 486E FFFC pea.l [A6 - 0x4]
00002524 A874 syscall GetPort
00002526 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
0000252A A873 syscall SetPort
0000252C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002530 4EAD 0162 jsr [A5 + 0x162 /* export_40 */]
00002534 206D EA4E movea.l A0, [A5 - 0x15B2]
00002538 2D68 0010 FFF4 move.l [A6 - 0xC], [A0 + 0x10]
0000253E 2D68 0014 FFF8 move.l [A6 - 0x8], [A0 + 0x14]
00002544 486E FFF4 pea.l [A6 - 0xC]
00002548 A8A3 syscall EraseRect
0000254A 486E FFF4 pea.l [A6 - 0xC]
0000254E A928 syscall InvalRect
00002550 2EAE FFFC move.l [A7], [A6 - 0x4]
00002554 A873 syscall SetPort
label00002556:
00002556 4E5E unlink A6
00002558 4E75 rts
0000255A 9752 sub.w [A2], D3
0000255C 6573 bcs +0x75 /* 000025D1 */
0000255E 697A bvs +0x7C /* 000025DA */
00002560 6564 bcs +0x66 /* 000025C6 */
00002562 5F43 subq.w D3, 7
00002564 4452 neg.w [A2]
00002566 4F4D chk.w D7, A5
00002568 5F53 subq.w [A3], 7
0000256A 696D bvs +0x6F /* 000025D9 */
0000256C 756C moveq.l D2, 0x6C
0000256E 6174 bsr +0x76 /* 000025E4 */
00002570 696F bvs +0x71 /* 000025E1 */
00002572 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002574-00002578
fn00002574:
00002574 4E56 FFF2 link A6, -0x000E
// end alternate branch 00002574-00002578
fn00002574: // (misaligned)
00002576 FFF2 .invalid <<F/7/7>>
00002578 202D EA4E move.l D0, [A5 - 0x15B2]
0000257C B0AE 000C cmp.l D0, [A6 + 0xC]
00002580 661A bne +0x1C /* 0000259C */
fn00002582:
00002582 486E FFFC pea.l [A6 - 0x4]
00002586 A874 syscall GetPort
00002588 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
0000258C A873 syscall SetPort
0000258E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002592 4EAD 016A jsr [A5 + 0x16A /* export_41 */]
00002596 2EAE FFFC move.l [A7], [A6 - 0x4]
0000259A A873 syscall SetPort
label0000259C:
0000259C 4E5E unlink A6
0000259E 4E75 rts
000025A0 954D subx.w -[A2], -[A5]
000025A2 6F76 ble +0x78 /* 0000261A */
000025A4 6564 bcs +0x66 /* 0000260A */
000025A6 5F43 subq.w D3, 7
000025A8 4452 neg.w [A2]
000025AA 4F4D chk.w D7, A5
000025AC 5F53 subq.w [A3], 7
000025AE 696D bvs +0x6F /* 0000261D */
000025B0 756C moveq.l D2, 0x6C
000025B2 6174 bsr +0x76 /* 00002628 */
000025B4 696F bvs +0x71 /* 00002625 */
000025B6 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000025B8-000025BC
export_20:
fn000025B8:
000025B8 4E56 FFEA link A6, -0x0016
// end alternate branch 000025B8-000025BC
export_20: // at 000025B8 (misaligned)
fn000025B8: // (misaligned)
000025BA FFEA .invalid <<F/7/7>>
000025BC 4AAD EA4E tst.l [A5 - 0x15B2]
000025C0 6700 013C beq +0x13E /* 000026FE */
000025C4 202D EA4E move.l D0, [A5 - 0x15B2]
// begin alternate branch 000025C6-000025C8
label000025C6:
000025C6 EA4E lsr D6.w, 5
// end alternate branch 000025C6-000025C8
label000025C6: // (misaligned)
000025C8 B0AE 0008 cmp.l D0, [A6 + 0x8]
000025CC 6600 0130 bne +0x132 /* 000026FE */
000025D0 486E FFFC pea.l [A6 - 0x4]
000025D4 A874 syscall GetPort
000025D6 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
label000025DA:
000025DA A873 syscall SetPort
000025DC 4A2D E730 tst.b [A5 - 0x18D0]
000025E0 6718 beq +0x1A /* 000025FA */
000025E2 486E FFF6 pea.l [A6 - 0xA]
// begin alternate branch 000025E4-000025E6
fn000025E4:
000025E4 FFF6 .invalid <<F/7/7>>
// end alternate branch 000025E4-000025E6
fn000025E4: // (misaligned)
000025E6 AA19 syscall GetForeColor
000025E8 486E FFF0 pea.l [A6 - 0x10]
000025EC AA1A syscall GetBackColor
000025EE 486D E73A pea.l [A5 - 0x18C6]
000025F2 AA14 syscall RGBForeColor
000025F4 486D E740 pea.l [A5 - 0x18C0]
000025F8 AA15 syscall RGBBackColor
label000025FA:
000025FA 3F3C 000A move.w -[A7], 0xA /* '\n' */
000025FE A88A syscall TextSize
00002600 3F3C 0002 move.w -[A7], 0x2
00002604 A887 syscall TextFont
00002606 486D E628 pea.l [A5 - 0x19D8]
label0000260A:
0000260A 2F3C 0019 0109 move.l -[A7], 0x190109
00002610 2F3C 003C 019A move.l -[A7], 0x3C019A
00002616 A8A7 syscall SetRect
00002618 486D E630 pea.l [A5 - 0x19D0]
// begin alternate branch 0000261A-0000261C
label0000261A:
0000261A E630 roxr D0.b, D3
// end alternate branch 0000261A-0000261C
label0000261A: // (misaligned)
0000261C 2F3C 0001 0268 move.l -[A7], 0x10268
00002622 4EBA DF96 jsr [PC - 0x206A /* 000005BA */]
00002626 486D E631 pea.l [A5 - 0x19CF]
// begin alternate branch 00002628-0000262A
fn00002628:
00002628 E631 roxr D1.b, D3
// end alternate branch 00002628-0000262A
fn00002628: // (misaligned)
0000262A 7000 moveq.l D0, 0x00
0000262C 102D E630 move.b D0, [A5 - 0x19D0]
00002630 2F00 move.l -[A7], D0
00002632 486D E628 pea.l [A5 - 0x19D8]
00002636 4267 clr.w -[A7]
00002638 A9CE syscall TETextBox/TextBox
0000263A 486D E628 pea.l [A5 - 0x19D8]
0000263E 2F3C 0064 010E move.l -[A7], 0x64010E
00002644 2F3C 007D 01AE move.l -[A7], 0x7D01AE
0000264A A8A7 syscall SetRect
0000264C 486D E630 pea.l [A5 - 0x19D0]
00002650 2F3C 0001 0267 move.l -[A7], 0x10267
00002656 4EBA DF62 jsr [PC - 0x209E /* 000005BA */]
0000265A 486D E631 pea.l [A5 - 0x19CF]
0000265E 7000 moveq.l D0, 0x00
00002660 102D E630 move.b D0, [A5 - 0x19D0]
00002664 2F00 move.l -[A7], D0
00002666 486D E628 pea.l [A5 - 0x19D8]
0000266A 4267 clr.w -[A7]
0000266C A9CE syscall TETextBox/TextBox
0000266E 486D E628 pea.l [A5 - 0x19D8]
00002672 2F3C 005F 0014 move.l -[A7], 0x5F0014
00002678 2F3C 0091 00EB move.l -[A7], 0x9100EB
0000267E A8A7 syscall SetRect
00002680 486D E630 pea.l [A5 - 0x19D0]
00002684 2F3C 0001 0265 move.l -[A7], 0x10265
0000268A 4EBA DF2E jsr [PC - 0x20D2 /* 000005BA */]
0000268E 486D E631 pea.l [A5 - 0x19CF]
00002692 7000 moveq.l D0, 0x00
00002694 102D E630 move.b D0, [A5 - 0x19D0]
00002698 2F00 move.l -[A7], D0
0000269A 486D E628 pea.l [A5 - 0x19D8]
0000269E 4267 clr.w -[A7]
000026A0 A9CE syscall TETextBox/TextBox
000026A2 486D E628 pea.l [A5 - 0x19D8]
000026A6 2F3C 0019 0014 move.l -[A7], 0x190014
000026AC 2F3C 003C 00F0 move.l -[A7], 0x3C00F0
000026B2 A8A7 syscall SetRect
000026B4 486D E630 pea.l [A5 - 0x19D0]
000026B8 2F3C 0001 0264 move.l -[A7], 0x10264
000026BE 4EBA DEFA jsr [PC - 0x2106 /* 000005BA */]
000026C2 486D E631 pea.l [A5 - 0x19CF]
000026C6 7000 moveq.l D0, 0x00
000026C8 102D E630 move.b D0, [A5 - 0x19D0]
000026CC 2F00 move.l -[A7], D0
000026CE 486D E628 pea.l [A5 - 0x19D8]
000026D2 4267 clr.w -[A7]
000026D4 A9CE syscall TETextBox/TextBox
000026D6 4A2D E730 tst.b [A5 - 0x18D0]
000026DA 670C beq +0xE /* 000026E8 */
000026DC 486E FFF6 pea.l [A6 - 0xA]
000026E0 AA14 syscall RGBForeColor
000026E2 486E FFF0 pea.l [A6 - 0x10]
000026E6 AA15 syscall RGBBackColor
label000026E8:
000026E8 3F3C 000C move.w -[A7], 0xC
000026EC A88A syscall TextSize
000026EE 3F3C 0001 move.w -[A7], 0x1
000026F2 A887 syscall TextFont
000026F4 4EAD 0172 jsr [A5 + 0x172 /* export_42 */]
000026F8 2F2E FFFC move.l -[A7], [A6 - 0x4]
000026FC A873 syscall SetPort
label000026FE:
000026FE 4E5E unlink A6
00002700 4E75 rts
00002702 9655 sub.w D3, [A5]
00002704 7064 moveq.l D0, 0x64
00002706 6174 bsr +0x76 /* 0000277C */
00002708 655F bcs +0x61 /* 00002769 */
0000270A 4344 chk.w D1, D4
0000270C 524F addq.w A7, 1
0000270E 4D5F chk.w D6, [A7]+
00002710 5369 6D75 subq.w [A1 + 0x6D75], 1
00002714 6C61 bge +0x63 /* 00002777 */
00002716 7469 moveq.l D2, 0x69
00002718 6F00 0000 ble +0x2 /* 0000271A */
// begin alternate branch 0000271A-00002720
label0000271A:
0000271A 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn0000271C: // (misaligned)
0000271E FFF8 .invalid <<F/7/7>>
// end alternate branch 0000271A-00002720
label0000271A: // (misaligned)
fn0000271C:
0000271C 4E56 FFF8 link A6, -0x0008
00002720 2F07 move.l -[A7], D7
00002722 4AAD EA4E tst.l [A5 - 0x15B2]
00002726 6600 01D6 bne +0x1D8 /* 000028FE */
0000272A 4A2D E730 tst.b [A5 - 0x18D0]
0000272E 6714 beq +0x16 /* 00002744 */
00002730 42A7 clr.l -[A7]
00002732 3F3C 0106 move.w -[A7], 0x106
00002736 42A7 clr.l -[A7]
00002738 4878 FFFF push.l 0xFFFF
0000273C AA46 syscall GetNewCWindow
0000273E 2B5F EA4E move.l [A5 - 0x15B2], [A7]+
00002742 6012 bra +0x14 /* 00002756 */
label00002744:
00002744 42A7 clr.l -[A7]
00002746 3F3C 0106 move.w -[A7], 0x106
0000274A 42A7 clr.l -[A7]
0000274C 4878 FFFF push.l 0xFFFF
00002750 A9BD syscall GetNewWindow
00002752 2B5F EA4E move.l [A5 - 0x15B2], [A7]+
label00002756:
00002756 2D6D EA4E FFF8 move.l [A6 - 0x8], [A5 - 0x15B2]
0000275C 206D EA4E movea.l A0, [A5 - 0x15B2]
00002760 2B68 0010 E628 move.l [A5 - 0x19D8], [A0 + 0x10]
00002766 2B68 0014 E62C move.l [A5 - 0x19D4], [A0 + 0x14]
0000276C 302D E62C move.w D0, [A5 - 0x19D4]
00002770 906D E628 sub.w D0, [A5 - 0x19D8]
00002774 322D E574 move.w D1, [A5 - 0x1A8C]
00002778 926D E570 sub.w D1, [A5 - 0x1A90]
fn0000277C:
0000277C 9240 sub.w D1, D0
0000277E 48C1 ext.l D1
00002780 83FC 0002 divs.w D1, 0x2
00002784 3B41 E628 move.w [A5 - 0x19D8], D1
00002788 0C6D 0028 E628 cmpi.w [A5 - 0x19D8], 0x28 /* '(' */
0000278E 6C06 bge +0x8 /* 00002796 */
00002790 3B7C 0028 E628 move.w [A5 - 0x19D8], 0x28 /* '(' */
label00002796:
00002796 302D E62E move.w D0, [A5 - 0x19D2]
0000279A 906D E62A sub.w D0, [A5 - 0x19D6]
0000279E 322D E576 move.w D1, [A5 - 0x1A8A]
000027A2 926D E572 sub.w D1, [A5 - 0x1A8E]
000027A6 9240 sub.w D1, D0
000027A8 48C1 ext.l D1
000027AA 83FC 0002 divs.w D1, 0x2
000027AE 3B41 E62A move.w [A5 - 0x19D6], D1
000027B2 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
000027B6 3F2D E62A move.w -[A7], [A5 - 0x19D6]
000027BA 3F2D E628 move.w -[A7], [A5 - 0x19D8]
000027BE 1F3C 0001 move.b -[A7], 0x1
000027C2 A91B syscall MoveWindow
000027C4 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
000027C8 A873 syscall SetPort
000027CA 42A7 clr.l -[A7]
000027CC 3F3C 0249 move.w -[A7], 0x249
000027D0 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
000027D4 A9BE syscall GetNewControl
000027D6 2B5F EA52 move.l [A5 - 0x15AE], [A7]+
000027DA 42A7 clr.l -[A7]
000027DC 3F3C 024A move.w -[A7], 0x24A
000027E0 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
000027E4 A9BE syscall GetNewControl
000027E6 2B5F EA56 move.l [A5 - 0x15AA], [A7]+
000027EA 42A7 clr.l -[A7]
000027EC 3F3C 0266 move.w -[A7], 0x266
000027F0 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
000027F4 A9BE syscall GetNewControl
000027F6 2B5F EA66 move.l [A5 - 0x159A], [A7]+
000027FA 2F2D EA66 move.l -[A7], [A5 - 0x159A]
000027FE A958 syscall HideControl
00002800 2F2D EA66 move.l -[A7], [A5 - 0x159A]
00002804 486D EAC4 pea.l [A5 - 0x153C]
00002808 A95F syscall SetControlTitle/SetCTitle
0000280A 2E3C 0100 0000 move.l D7, 0x1000000
00002810 0687 0000 0100 addi.l D7, 0x100
00002816 5287 addq.l D7, 1
00002818 206D EA66 movea.l A0, [A5 - 0x159A]
0000281C 2050 movea.l A0, [A0]
0000281E 2147 001C move.l [A0 + 0x1C], D7
00002822 206D EA66 movea.l A0, [A5 - 0x159A]
00002826 2050 movea.l A0, [A0]
00002828 2B68 0008 EA6A move.l [A5 - 0x1596], [A0 + 0x8]
0000282E 2B68 000C EA6E move.l [A5 - 0x1592], [A0 + 0xC]
00002834 2F2D EA66 move.l -[A7], [A5 - 0x159A]
00002838 A957 syscall ShowControl
0000283A 42A7 clr.l -[A7]
0000283C 3F3C 0263 move.w -[A7], 0x263
00002840 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
00002844 A9BE syscall GetNewControl
00002846 2B5F EA72 move.l [A5 - 0x158E], [A7]+
0000284A 2F2D EA72 move.l -[A7], [A5 - 0x158E]
0000284E A958 syscall HideControl
00002850 2F2D EA72 move.l -[A7], [A5 - 0x158E]
00002854 486D EAD6 pea.l [A5 - 0x152A]
00002858 A95F syscall SetControlTitle/SetCTitle
0000285A 2E3C 0100 0000 move.l D7, 0x1000000
00002860 0687 0000 0100 addi.l D7, 0x100
00002866 5287 addq.l D7, 1
00002868 206D EA72 movea.l A0, [A5 - 0x158E]
0000286C 2050 movea.l A0, [A0]
0000286E 2147 001C move.l [A0 + 0x1C], D7
00002872 206D EA72 movea.l A0, [A5 - 0x158E]
00002876 2050 movea.l A0, [A0]
00002878 2B68 0008 EA76 move.l [A5 - 0x158A], [A0 + 0x8]
0000287E 2B68 000C EA7A move.l [A5 - 0x1586], [A0 + 0xC]
00002884 2F2D EA72 move.l -[A7], [A5 - 0x158E]
00002888 A957 syscall ShowControl
0000288A 42A7 clr.l -[A7]
0000288C 3F3C 024C move.w -[A7], 0x24C
00002890 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
00002894 A9BE syscall GetNewControl
00002896 2B5F EA5A move.l [A5 - 0x15A6], [A7]+
0000289A 2F2D EA5A move.l -[A7], [A5 - 0x15A6]
0000289E 4EBA F098 jsr [PC - 0xF68 /* 00001938 */]
000028A2 4297 clr.l [A7]
000028A4 3F3C 024D move.w -[A7], 0x24D
000028A8 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
000028AC A9BE syscall GetNewControl
000028AE 2B5F EA5E move.l [A5 - 0x15A2], [A7]+
000028B2 2F2D EA5E move.l -[A7], [A5 - 0x15A2]
000028B6 4EBA F080 jsr [PC - 0xF80 /* 00001938 */]
000028BA 4297 clr.l [A7]
000028BC 3F3C 0262 move.w -[A7], 0x262
000028C0 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
000028C4 A9BE syscall GetNewControl
000028C6 2B5F EA62 move.l [A5 - 0x159E], [A7]+
000028CA 7E00 moveq.l D7, 0x00
000028CC 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
000028D0 A873 syscall SetPort
000028D2 426E FFFE clr.w [A6 - 0x2]
000028D6 426E FFFC clr.w [A6 - 0x4]
000028DA 486E FFFC pea.l [A6 - 0x4]
000028DE A870 syscall LocalToGlobal
000028E0 2F2E FFFC move.l -[A7], [A6 - 0x4]
000028E4 2F2D E5FA move.l -[A7], [A5 - 0x1A06]
000028E8 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
000028EC 4EBA ED68 jsr [PC - 0x1298 /* 00001656 */]
000028F0 4EAD 017A jsr [A5 + 0x17A /* export_43 */]
000028F4 2EAD EA4E move.l [A7], [A5 - 0x15B2]
000028F8 A915 syscall ShowWindow
000028FA 508F addq.l A7, 8
000028FC 6006 bra +0x8 /* 00002904 */
label000028FE:
000028FE 2F2D EA4E move.l -[A7], [A5 - 0x15B2]
00002902 A91F syscall SelectWindow
label00002904:
00002904 2E1F move.l D7, [A7]+
00002906 4E5E unlink A6
00002908 4E75 rts
0000290A 944F sub.w D2, A7
0000290C 7065 moveq.l D0, 0x65
0000290E 6E5F bgt +0x61 /* 0000296F */
00002910 4344 chk.w D1, D4
00002912 524F addq.w A7, 1
00002914 4D5F chk.w D6, [A7]+
00002916 5369 6D75 subq.w [A1 + 0x6D75], 1
0000291A 6C61 bge +0x63 /* 0000297D */
0000291C 7469 moveq.l D2, 0x69
0000291E 6F00 0000 ble +0x2 /* 00002920 */
// begin alternate branch 00002920-00002926
label00002920:
00002920 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00002922: // (misaligned)
00002924 FFFC .invalid <<F/7/7>>
// end alternate branch 00002920-00002926
label00002920: // (misaligned)
fn00002922:
00002922 4E56 FFFC link A6, -0x0004
00002926 202D EA4E move.l D0, [A5 - 0x15B2]
0000292A B0AE 0008 cmp.l D0, [A6 + 0x8]
0000292E 6632 bne +0x34 /* 00002962 */
00002930 486E FFFC pea.l [A6 - 0x4]
00002934 A874 syscall GetPort
00002936 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000293A A873 syscall SetPort
0000293C 4A2E 000C tst.b [A6 + 0xC]
00002940 6610 bne +0x12 /* 00002952 */
00002942 4AAD E624 tst.l [A5 - 0x19DC]
00002946 6706 beq +0x8 /* 0000294E */
00002948 2F2D E624 move.l -[A7], [A5 - 0x19DC]
0000294C A9D9 syscall TEDeactivate
label0000294E:
0000294E 42AD E624 clr.l [A5 - 0x19DC]
label00002952:
00002952 1F2E 000C move.b -[A7], [A6 + 0xC]
00002956 4EAD 0182 jsr [A5 + 0x182 /* export_44 */]
0000295A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000295E A873 syscall SetPort
00002960 548F addq.l A7, 2
label00002962:
00002962 4E5E unlink A6
00002964 4E75 rts
00002966 9841 sub.w D4, D1
00002968 6374 bls +0x76 /* 000029DE */
0000296A 6976 bvs +0x78 /* 000029E2 */
0000296C 6174 bsr +0x76 /* 000029E2 */
0000296E 655F bcs +0x61 /* 000029CF */
00002970 4344 chk.w D1, D4
00002972 524F addq.w A7, 1
00002974 4D5F chk.w D6, [A7]+
00002976 5369 6D75 subq.w [A1 + 0x6D75], 1
0000297A 6C61 bge +0x63 /* 000029DD */
0000297C 7469 moveq.l D2, 0x69
0000297E 6F00 0000 ble +0x2 /* 00002980 */
// begin alternate branch 00002980-00002986
label00002980:
00002980 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00002982: // (misaligned)
00002984 FFFE .invalid <<F/7/7>>
// end alternate branch 00002980-00002986
label00002980: // (misaligned)
fn00002982:
00002982 4E56 FFFE link A6, -0x0002
00002986 48E7 0308 movem.l -[A7], D6,D7,A4
0000298A 286E 0008 movea.l A4, [A6 + 0x8]
0000298E 2F0C move.l -[A7], A4
00002990 3F3C 000A move.w -[A7], 0xA /* '\n' */
00002994 A95D syscall HiliteControl
00002996 426E FFFE clr.w [A6 - 0x2]
0000299A 42A7 clr.l -[A7]
0000299C 2F0C move.l -[A7], A4
0000299E A95A syscall GetControlReference/GetCRefCon
000029A0 2E1F move.l D7, [A7]+
000029A2 2007 move.l D0, D7
000029A4 6B48 bmi +0x4A /* 000029EE */
000029A6 0480 0000 024B subi.l D0, 0x24B
000029AC 6740 beq +0x42 /* 000029EE */
000029AE 6A06 bpl +0x8 /* 000029B6 */
000029B0 5480 addq.l D0, 2
000029B2 673A beq +0x3C /* 000029EE */
000029B4 6038 bra +0x3A /* 000029EE */
label000029B6:
000029B6 5580 subq.l D0, 2
000029B8 6720 beq +0x22 /* 000029DA */
000029BA 6A32 bpl +0x34 /* 000029EE */
000029BC 4267 clr.w -[A7]
000029BE 2F2D EA5A move.l -[A7], [A5 - 0x15A6]
000029C2 A960 syscall GetControlValue/GetCtlValue
000029C4 3C1F move.w D6, [A7]+
000029C6 3006 move.w D0, D6
000029C8 0C40 0011 cmpi.w D0, 0x11
000029CC 6220 bhi +0x22 /* 000029EE */
000029CE 43FA 004A lea.l A1, [PC + 0x4A /* 00002A1A, value 0xFFD4FFD4 */]
000029D2 D040 add.w D0, D0
000029D4 D2F1 0000 add.w A1, [A1 + D0.w]
000029D8 4ED1 jmp [A1]
label000029DA:
000029DA 4267 clr.w -[A7]
000029DC 2F2D EA5E move.l -[A7], [A5 - 0x15A2]
// begin alternate branch 000029DE-000029E0
label000029DE:
000029DE EA5E ror D6.w, 5
// end alternate branch 000029DE-000029E0
label000029DE: // (misaligned)
000029E0 A960 syscall GetControlValue/GetCtlValue
fn000029E2:
000029E2 3C1F move.w D6, [A7]+
000029E4 3006 move.w D0, D6
000029E6 6706 beq +0x8 /* 000029EE */
000029E8 6B04 bmi +0x6 /* 000029EE */
000029EA 5540 subq.w D0, 2
000029EC 4E71 nop
label000029EE:
000029EE 486E FFFE pea.l [A6 - 0x2]
000029F2 2F0C move.l -[A7], A4
000029F4 2F07 move.l -[A7], D7
000029F6 4EAD 018A jsr [A5 + 0x18A /* export_45 */]
000029FA 2E8C move.l [A7], A4
000029FC 3F2E FFFE move.w -[A7], [A6 - 0x2]
00002A00 A95D syscall HiliteControl
00002A02 4CEE 10C0 FFF2 movem.l D6,D7,A4, [A6 - 0xE]
00002A08 4E5E unlink A6
00002A0A 4E75 rts
00002A0C 8B44 6F5F pack D5, D4, 0x6F5F
00002A10 415F chk.w D0, [A7]+
00002A12 4275 7474 clr.w [A5 + D7.w * 4 + 0x74]
00002A16 6F6E ble +0x70 /* 00002A86 */
00002A18 0024 FFD4 ori.b -[A4], 0xD4
00002A1C FFD4 .invalid <<F/7/7>>
00002A1E FFD4 .invalid <<F/7/7>>
00002A20 FFD4 .invalid <<F/7/7>>
00002A22 FFD4 .invalid <<F/7/7>>
00002A24 FFD4 .invalid <<F/7/7>>
00002A26 FFD4 .invalid <<F/7/7>>
00002A28 FFD4 .invalid <<F/7/7>>
00002A2A FFD4 .invalid <<F/7/7>>
00002A2C FFD4 .invalid <<F/7/7>>
00002A2E FFD4 .invalid <<F/7/7>>
00002A30 FFD4 .invalid <<F/7/7>>
00002A32 FFD4 .invalid <<F/7/7>>
00002A34 FFD4 .invalid <<F/7/7>>
00002A36 FFD4 .invalid <<F/7/7>>
00002A38 FFD4 .invalid <<F/7/7>>
00002A3A FFD4 .invalid <<F/7/7>>
00002A3C FFD4 .invalid <<F/7/7>>
fn00002A3E:
00002A3E 4E56 FFF4 link A6, -0x000C
00002A42 48E7 0108 movem.l -[A7], D7,A4
00002A46 286E 0008 movea.l A4, [A6 + 0x8]
00002A4A 4267 clr.w -[A7]
00002A4C 2F2C 000A move.l -[A7], [A4 + 0xA]
00002A50 486E FFFC pea.l [A6 - 0x4]
00002A54 A92C syscall FindWindow
00002A56 3E1F move.w D7, [A7]+
00002A58 202D EA4E move.l D0, [A5 - 0x15B2]
00002A5C B0AE FFFC cmp.l D0, [A6 - 0x4]
00002A60 6600 00B8 bne +0xBA /* 00002B1A */
00002A64 4267 clr.w -[A7]
00002A66 2F2C 000A move.l -[A7], [A4 + 0xA]
00002A6A 486E FFFC pea.l [A6 - 0x4]
00002A6E A92C syscall FindWindow
00002A70 3E1F move.w D7, [A7]+
00002A72 202D EA4E move.l D0, [A5 - 0x15B2]
00002A76 B0AE FFFC cmp.l D0, [A6 - 0x4]
00002A7A 6608 bne +0xA /* 00002A84 */
00002A7C 2F0C move.l -[A7], A4
00002A7E 4EAD 019A jsr [A5 + 0x19A /* export_47 */]
00002A82 588F addq.l A7, 4
label00002A84:
00002A84 0C54 0001 cmpi.w [A4], 0x1
// begin alternate branch 00002A86-00002A8A
label00002A86:
00002A86 0001 6616 ori.b D1, 0x16
// end alternate branch 00002A86-00002A8A
label00002A86: // (misaligned)
00002A88 6616 bne +0x18 /* 00002AA0 */
00002A8A 202D EA4E move.l D0, [A5 - 0x15B2]
00002A8E B0AE FFFC cmp.l D0, [A6 - 0x4]
00002A92 660C bne +0xE /* 00002AA0 */
00002A94 2D6C 000A FFF8 move.l [A6 - 0x8], [A4 + 0xA]
00002A9A 486E FFF8 pea.l [A6 - 0x8]
00002A9E A871 syscall GlobalToLocal
label00002AA0:
00002AA0 202D EA4E move.l D0, [A5 - 0x15B2]
00002AA4 B0AE FFFC cmp.l D0, [A6 - 0x4]
00002AA8 6670 bne +0x72 /* 00002B1A */
00002AAA 0C47 0003 cmpi.w D7, 0x3
00002AAE 666A bne +0x6C /* 00002B1A */
00002AB0 4267 clr.w -[A7]
00002AB2 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002AB6 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002ABA 486E FFF4 pea.l [A6 - 0xC]
00002ABE A96C syscall FindControl
00002AC0 3E1F move.w D7, [A7]+
00002AC2 0C47 0014 cmpi.w D7, 0x14
00002AC6 6718 beq +0x1A /* 00002AE0 */
00002AC8 0C47 0015 cmpi.w D7, 0x15
00002ACC 6712 beq +0x14 /* 00002AE0 */
00002ACE 0C47 0081 cmpi.w D7, 0x81
00002AD2 670C beq +0xE /* 00002AE0 */
00002AD4 0C47 0017 cmpi.w D7, 0x17
00002AD8 6706 beq +0x8 /* 00002AE0 */
00002ADA 0C47 0016 cmpi.w D7, 0x16
00002ADE 6614 bne +0x16 /* 00002AF4 */
label00002AE0:
00002AE0 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002AE4 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002AE8 3F07 move.w -[A7], D7
00002AEA 4EBA F932 jsr [PC - 0x6CE /* 0000241E */]
00002AEE 4FEF 000A lea.l A7, [A7 + 0xA]
00002AF2 6016 bra +0x18 /* 00002B0A */
label00002AF4:
00002AF4 4A47 tst.w D7
00002AF6 6712 beq +0x14 /* 00002B0A */
00002AF8 4267 clr.w -[A7]
00002AFA 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002AFE 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002B02 4878 FFFF push.l 0xFFFF
00002B06 A968 syscall TrackControl
00002B08 3E1F move.w D7, [A7]+
label00002B0A:
00002B0A 0C47 000A cmpi.w D7, 0xA /* '\n' */
00002B0E 660A bne +0xC /* 00002B1A */
00002B10 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002B14 4EBA FE6C jsr [PC - 0x194 /* 00002982 */]
00002B18 588F addq.l A7, 4
label00002B1A:
00002B1A 4CDF 1080 movem.l D7,A4, [A7]+
00002B1E 4E5E unlink A6
00002B20 4E75 rts
00002B22 9244 sub.w D1, D4
00002B24 6F5F ble +0x61 /* 00002B85 */
00002B26 4344 chk.w D1, D4
00002B28 524F addq.w A7, 1
00002B2A 4D5F chk.w D6, [A7]+
00002B2C 5369 6D75 subq.w [A1 + 0x6D75], 1
00002B30 6C61 bge +0x63 /* 00002B93 */
00002B32 7469 moveq.l D2, 0x69
00002B34 6F00 0000 ble +0x2 /* 00002B36 */
// begin alternate branch 00002B36-00002B3C
label00002B36:
00002B36 0000 42AD ori.b D0, 0xAD
fn00002B38: // (misaligned)
00002B3A EA7E ror D6.w, D5
// end alternate branch 00002B36-00002B3C
label00002B36: // (misaligned)
fn00002B38:
00002B38 42AD EA7E clr.l [A5 - 0x1582]
00002B3C 42AD EAE6 clr.l [A5 - 0x151A]
00002B40 42AD EAEA clr.l [A5 - 0x1516]
00002B44 3B7C FFFF EAEE move.w [A5 - 0x1512], 0xFFFF
00002B4A 3B7C FFFF EAF0 move.w [A5 - 0x1510], 0xFFFF
00002B50 3B7C FFFF EAF2 move.w [A5 - 0x150E], 0xFFFF
00002B56 3B7C 0064 E600 move.w [A5 - 0x1A00], 0x64 /* 'd' */
00002B5C 3B7C 0032 E5FE move.w [A5 - 0x1A02], 0x32 /* '2' */
00002B62 4EAD 01AA jsr [A5 + 0x1AA /* export_49 */]
00002B66 4E75 rts
fn00002B68:
00002B68 4E56 0000 link A6, 0
00002B6C 4AAD EA7E tst.l [A5 - 0x1582]
00002B70 6734 beq +0x36 /* 00002BA6 */
00002B72 202D EA7E move.l D0, [A5 - 0x1582]
00002B76 B0AE 0008 cmp.l D0, [A6 + 0x8]
00002B7A 6708 beq +0xA /* 00002B84 */
00002B7C 70FF moveq.l D0, 0xFFFFFFFF
00002B7E B0AE 0008 cmp.l D0, [A6 + 0x8]
00002B82 6622 bne +0x24 /* 00002BA6 */
label00002B84:
00002B84 4EAD 01B2 jsr [A5 + 0x1B2 /* export_50 */]
00002B88 2F2D EA7E move.l -[A7], [A5 - 0x1582]
00002B8C A873 syscall SetPort
00002B8E 426D E600 clr.w [A5 - 0x1A00]
00002B92 426D E5FE clr.w [A5 - 0x1A02]
00002B96 486D E5FE pea.l [A5 - 0x1A02]
00002B9A A870 syscall LocalToGlobal
00002B9C 2F2D EA7E move.l -[A7], [A5 - 0x1582]
00002BA0 A914 syscall DisposeWindow
00002BA2 42AD EA7E clr.l [A5 - 0x1582]
label00002BA6:
00002BA6 4E5E unlink A6
00002BA8 4E75 rts
00002BAA 9243 sub.w D1, D3
00002BAC 6C6F bge +0x71 /* 00002C1D */
00002BAE 7365 moveq.l D1, 0x65
00002BB0 5F43 subq.w D3, 7
00002BB2 4452 neg.w [A2]
00002BB4 4F4D chk.w D7, A5
00002BB6 5F76 616C subq.w <<invalid full ext with I/IS == 4>>, 7
00002BBA 7565 moveq.l D2, 0x65
00002BBC 7300 moveq.l D1, 0x00
00002BBE 0000 4E56 ori.b D0, 0x56 /* 'V' */
00002BC2 FFF2 .invalid <<F/7/7>>
00002BC4 202D EA7E move.l D0, [A5 - 0x1582]
00002BC8 B0AE 000C cmp.l D0, [A6 + 0xC]
00002BCC 6636 bne +0x38 /* 00002C04 */
00002BCE 486E FFFC pea.l [A6 - 0x4]
00002BD2 A874 syscall GetPort
00002BD4 2F2D EA7E move.l -[A7], [A5 - 0x1582]
00002BD8 A873 syscall SetPort
00002BDA 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002BDE 4EAD 01BA jsr [A5 + 0x1BA /* export_51 */]
00002BE2 206D EA7E movea.l A0, [A5 - 0x1582]
00002BE6 2D68 0010 FFF4 move.l [A6 - 0xC], [A0 + 0x10]
00002BEC 2D68 0014 FFF8 move.l [A6 - 0x8], [A0 + 0x14]
00002BF2 486E FFF4 pea.l [A6 - 0xC]
00002BF6 A8A3 syscall EraseRect
00002BF8 486E FFF4 pea.l [A6 - 0xC]
00002BFC A928 syscall InvalRect
00002BFE 2EAE FFFC move.l [A7], [A6 - 0x4]
00002C02 A873 syscall SetPort
label00002C04:
00002C04 4E5E unlink A6
00002C06 4E75 rts
00002C08 9452 sub.w D2, [A2]
00002C0A 6573 bcs +0x75 /* 00002C7F */
00002C0C 697A bvs +0x7C /* 00002C88 */
00002C0E 6564 bcs +0x66 /* 00002C74 */
00002C10 5F43 subq.w D3, 7
00002C12 4452 neg.w [A2]
00002C14 4F4D chk.w D7, A5
00002C16 5F76 616C subq.w <<invalid full ext with I/IS == 4>>, 7
00002C1A 7565 moveq.l D2, 0x65
00002C1C 7300 moveq.l D1, 0x00
00002C1E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002C20-00002C24
fn00002C20:
00002C20 4E56 FFF2 link A6, -0x000E
// end alternate branch 00002C20-00002C24
fn00002C20: // (misaligned)
00002C22 FFF2 .invalid <<F/7/7>>
00002C24 202D EA7E move.l D0, [A5 - 0x1582]
00002C28 B0AE 000C cmp.l D0, [A6 + 0xC]
00002C2C 661A bne +0x1C /* 00002C48 */
00002C2E 486E FFFC pea.l [A6 - 0x4]
00002C32 A874 syscall GetPort
00002C34 2F2D EA7E move.l -[A7], [A5 - 0x1582]
00002C38 A873 syscall SetPort
00002C3A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002C3E 4EAD 01C2 jsr [A5 + 0x1C2 /* export_52 */]
00002C42 2EAE FFFC move.l [A7], [A6 - 0x4]
00002C46 A873 syscall SetPort
label00002C48:
00002C48 4E5E unlink A6
00002C4A 4E75 rts
00002C4C 924D sub.w D1, A5
00002C4E 6F76 ble +0x78 /* 00002CC6 */
00002C50 6564 bcs +0x66 /* 00002CB6 */
00002C52 5F43 subq.w D3, 7
00002C54 4452 neg.w [A2]
00002C56 4F4D chk.w D7, A5
00002C58 5F76 616C subq.w <<invalid full ext with I/IS == 4>>, 7
00002C5C 7565 moveq.l D2, 0x65
00002C5E 7300 moveq.l D1, 0x00
00002C60 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002C62-00002C66
fn00002C62:
00002C62 4E56 FFFC link A6, -0x0004
// end alternate branch 00002C62-00002C66
fn00002C62: // (misaligned)
00002C64 FFFC .invalid <<F/7/7>>
00002C66 4AAD EA7E tst.l [A5 - 0x1582]
00002C6A 6720 beq +0x22 /* 00002C8C */
00002C6C 202D EA7E move.l D0, [A5 - 0x1582]
00002C70 B0AE 0008 cmp.l D0, [A6 + 0x8]
label00002C74:
00002C74 6616 bne +0x18 /* 00002C8C */
00002C76 486E FFFC pea.l [A6 - 0x4]
00002C7A A874 syscall GetPort
00002C7C 2F2D EA7E move.l -[A7], [A5 - 0x1582]
00002C80 A873 syscall SetPort
00002C82 4EAD 01CA jsr [A5 + 0x1CA /* export_53 */]
00002C86 2F2E FFFC move.l -[A7], [A6 - 0x4]
// begin alternate branch 00002C88-00002C8A
label00002C88:
00002C88 FFFC .invalid <<F/7/7>>
// end alternate branch 00002C88-00002C8A
label00002C88: // (misaligned)
00002C8A A873 syscall SetPort
label00002C8C:
00002C8C 4E5E unlink A6
00002C8E 4E75 rts
00002C90 9355 sub.w [A5], D1
00002C92 7064 moveq.l D0, 0x64
00002C94 6174 bsr +0x76 /* 00002D0A */
00002C96 655F bcs +0x61 /* 00002CF7 */
00002C98 4344 chk.w D1, D4
00002C9A 524F addq.w A7, 1
00002C9C 4D5F chk.w D6, [A7]+
00002C9E 7661 moveq.l D3, 0x61
00002CA0 6C75 bge +0x77 /* 00002D17 */
00002CA2 6573 bcs +0x75 /* 00002D17 */
00002CA4 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002CA6-00002CAA
fn00002CA6:
00002CA6 4E56 FFF4 link A6, -0x000C
// end alternate branch 00002CA6-00002CAA
fn00002CA6: // (misaligned)
00002CA8 FFF4 .invalid <<F/7/7>>
00002CAA 4AAD EA7E tst.l [A5 - 0x1582]
00002CAE 6664 bne +0x66 /* 00002D14 */
00002CB0 4A2D E730 tst.b [A5 - 0x18D0]
00002CB4 6714 beq +0x16 /* 00002CCA */
label00002CB6:
00002CB6 42A7 clr.l -[A7]
00002CB8 3F3C 0107 move.w -[A7], 0x107
00002CBC 42A7 clr.l -[A7]
00002CBE 4878 FFFF push.l 0xFFFF
00002CC2 AA46 syscall GetNewCWindow
00002CC4 2B5F EA7E move.l [A5 - 0x1582], [A7]+
// begin alternate branch 00002CC6-00002CC8
label00002CC6:
00002CC6 EA7E ror D6.w, D5
// end alternate branch 00002CC6-00002CC8
label00002CC6: // (misaligned)
00002CC8 6012 bra +0x14 /* 00002CDC */
label00002CCA:
00002CCA 42A7 clr.l -[A7]
00002CCC 3F3C 0107 move.w -[A7], 0x107
00002CD0 42A7 clr.l -[A7]
00002CD2 4878 FFFF push.l 0xFFFF
00002CD6 A9BD syscall GetNewWindow
00002CD8 2B5F EA7E move.l [A5 - 0x1582], [A7]+
label00002CDC:
00002CDC 2F2D EA7E move.l -[A7], [A5 - 0x1582]
00002CE0 A873 syscall SetPort
00002CE2 2F2D EA7E move.l -[A7], [A5 - 0x1582]
00002CE6 A873 syscall SetPort
00002CE8 426E FFFE clr.w [A6 - 0x2]
00002CEC 426E FFFC clr.w [A6 - 0x4]
00002CF0 486E FFFC pea.l [A6 - 0x4]
00002CF4 A870 syscall LocalToGlobal
00002CF6 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002CFA 2F2D E5FE move.l -[A7], [A5 - 0x1A02]
00002CFE 2F2D EA7E move.l -[A7], [A5 - 0x1582]
00002D02 4EBA E952 jsr [PC - 0x16AE /* 00001656 */]
00002D06 4EAD 01D2 jsr [A5 + 0x1D2 /* export_54 */]
fn00002D0A:
00002D0A 2EAD EA7E move.l [A7], [A5 - 0x1582]
00002D0E A915 syscall ShowWindow
00002D10 508F addq.l A7, 8
00002D12 6006 bra +0x8 /* 00002D1A */
label00002D14:
00002D14 2F2D EA7E move.l -[A7], [A5 - 0x1582]
00002D18 A91F syscall SelectWindow
label00002D1A:
00002D1A 4E5E unlink A6
00002D1C 4E75 rts
00002D1E 914F subx.w -[A0], -[A7]
00002D20 7065 moveq.l D0, 0x65
00002D22 6E5F bgt +0x61 /* 00002D83 */
00002D24 4344 chk.w D1, D4
00002D26 524F addq.w A7, 1
00002D28 4D5F chk.w D6, [A7]+
00002D2A 7661 moveq.l D3, 0x61
00002D2C 6C75 bge +0x77 /* 00002DA3 */
00002D2E 6573 bcs +0x75 /* 00002DA3 */
00002D30 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002D32-00002D36
fn00002D32:
00002D32 4E56 FFFC link A6, -0x0004
// end alternate branch 00002D32-00002D36
fn00002D32: // (misaligned)
00002D34 FFFC .invalid <<F/7/7>>
00002D36 202D EA7E move.l D0, [A5 - 0x1582]
00002D3A B0AE 0008 cmp.l D0, [A6 + 0x8]
00002D3E 6632 bne +0x34 /* 00002D72 */
00002D40 486E FFFC pea.l [A6 - 0x4]
00002D44 A874 syscall GetPort
00002D46 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D4A A873 syscall SetPort
00002D4C 4A2E 000C tst.b [A6 + 0xC]
00002D50 6610 bne +0x12 /* 00002D62 */
00002D52 4AAD E624 tst.l [A5 - 0x19DC]
00002D56 6706 beq +0x8 /* 00002D5E */
00002D58 2F2D E624 move.l -[A7], [A5 - 0x19DC]
00002D5C A9D9 syscall TEDeactivate
label00002D5E:
00002D5E 42AD E624 clr.l [A5 - 0x19DC]
label00002D62:
00002D62 1F2E 000C move.b -[A7], [A6 + 0xC]
00002D66 4EAD 01DA jsr [A5 + 0x1DA /* export_55 */]
00002D6A 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002D6E A873 syscall SetPort
00002D70 548F addq.l A7, 2
label00002D72:
00002D72 4E5E unlink A6
00002D74 4E75 rts
00002D76 9541 subx.w D2, D1
00002D78 6374 bls +0x76 /* 00002DEE */
00002D7A 6976 bvs +0x78 /* 00002DF2 */
00002D7C 6174 bsr +0x76 /* 00002DF2 */
00002D7E 655F bcs +0x61 /* 00002DDF */
00002D80 4344 chk.w D1, D4
00002D82 524F addq.w A7, 1
00002D84 4D5F chk.w D6, [A7]+
00002D86 7661 moveq.l D3, 0x61
00002D88 6C75 bge +0x77 /* 00002DFF */
00002D8A 6573 bcs +0x75 /* 00002DFF */
00002D8C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002D8E-00002D92
fn00002D8E:
00002D8E 4E56 FFF4 link A6, -0x000C
// end alternate branch 00002D8E-00002D92
fn00002D8E: // (misaligned)
00002D90 FFF4 .invalid <<F/7/7>>
00002D92 48E7 0108 movem.l -[A7], D7,A4
00002D96 286E 0008 movea.l A4, [A6 + 0x8]
00002D9A 4267 clr.w -[A7]
00002D9C 2F2C 000A move.l -[A7], [A4 + 0xA]
00002DA0 486E FFFC pea.l [A6 - 0x4]
00002DA4 A92C syscall FindWindow
00002DA6 3E1F move.w D7, [A7]+
00002DA8 202D EA7E move.l D0, [A5 - 0x1582]
00002DAC B0AE FFFC cmp.l D0, [A6 - 0x4]
00002DB0 6674 bne +0x76 /* 00002E26 */
00002DB2 4267 clr.w -[A7]
00002DB4 2F2C 000A move.l -[A7], [A4 + 0xA]
00002DB8 486E FFFC pea.l [A6 - 0x4]
00002DBC A92C syscall FindWindow
00002DBE 3E1F move.w D7, [A7]+
00002DC0 202D EA7E move.l D0, [A5 - 0x1582]
00002DC4 B0AE FFFC cmp.l D0, [A6 - 0x4]
00002DC8 6608 bne +0xA /* 00002DD2 */
00002DCA 2F0C move.l -[A7], A4
00002DCC 4EAD 01E2 jsr [A5 + 0x1E2 /* export_56 */]
00002DD0 588F addq.l A7, 4
label00002DD2:
00002DD2 0C54 0001 cmpi.w [A4], 0x1
00002DD6 6616 bne +0x18 /* 00002DEE */
00002DD8 202D EA7E move.l D0, [A5 - 0x1582]
00002DDC B0AE FFFC cmp.l D0, [A6 - 0x4]
00002DE0 660C bne +0xE /* 00002DEE */
00002DE2 2D6C 000A FFF8 move.l [A6 - 0x8], [A4 + 0xA]
00002DE8 486E FFF8 pea.l [A6 - 0x8]
00002DEC A871 syscall GlobalToLocal
label00002DEE:
00002DEE 202D EA7E move.l D0, [A5 - 0x1582]
fn00002DF2:
00002DF2 B0AE FFFC cmp.l D0, [A6 - 0x4]
00002DF6 662E bne +0x30 /* 00002E26 */
00002DF8 0C47 0003 cmpi.w D7, 0x3
00002DFC 6628 bne +0x2A /* 00002E26 */
00002DFE 4267 clr.w -[A7]
00002E00 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002E04 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002E08 486E FFF4 pea.l [A6 - 0xC]
00002E0C A96C syscall FindControl
00002E0E 3E1F move.w D7, [A7]+
00002E10 4A47 tst.w D7
00002E12 6712 beq +0x14 /* 00002E26 */
00002E14 4267 clr.w -[A7]
00002E16 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002E1A 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00002E1E 4878 FFFF push.l 0xFFFF
00002E22 A968 syscall TrackControl
00002E24 3E1F move.w D7, [A7]+
label00002E26:
00002E26 4CDF 1080 movem.l D7,A4, [A7]+
00002E2A 4E5E unlink A6
00002E2C 4E75 rts
00002E2E 8F44 6F5F pack D7, D4, 0x6F5F
00002E32 4344 chk.w D1, D4
00002E34 524F addq.w A7, 1
00002E36 4D5F chk.w D6, [A7]+
00002E38 7661 moveq.l D3, 0x61
00002E3A 6C75 bge +0x77 /* 00002EB1 */
00002E3C 6573 bcs +0x75 /* 00002EB1 */
00002E3E 0000 42AD ori.b D0, 0xAD
// begin alternate branch 00002E40-00002E44
fn00002E40:
00002E40 42AD EA82 clr.l [A5 - 0x157E]
// end alternate branch 00002E40-00002E44
fn00002E40: // (misaligned)
00002E42 EA82 asr D2, 5
00002E44 42AD EAF4 clr.l [A5 - 0x150C]
00002E48 42AD EAF8 clr.l [A5 - 0x1508]
00002E4C 3B7C FFFF EAFC move.w [A5 - 0x1504], 0xFFFF
00002E52 3B7C FFFF EAFE move.w [A5 - 0x1502], 0xFFFF
00002E58 3B7C FFFF EB00 move.w [A5 - 0x1500], 0xFFFF
00002E5E 3B7C 00BA E604 move.w [A5 - 0x19FC], 0xBA
00002E64 3B7C 0030 E602 move.w [A5 - 0x19FE], 0x30 /* '0' */
00002E6A 4EAD 02AA jsr [A5 + 0x2AA /* export_81 */]
00002E6E 4E75 rts
export_21:
fn00002E70:
00002E70 4E56 0000 link A6, 0
00002E74 4AAD EA82 tst.l [A5 - 0x157E]
00002E78 6734 beq +0x36 /* 00002EAE */
00002E7A 202D EA82 move.l D0, [A5 - 0x157E]
00002E7E B0AE 0008 cmp.l D0, [A6 + 0x8]
00002E82 6708 beq +0xA /* 00002E8C */
00002E84 70FF moveq.l D0, 0xFFFFFFFF
00002E86 B0AE 0008 cmp.l D0, [A6 + 0x8]
00002E8A 6622 bne +0x24 /* 00002EAE */
label00002E8C:
00002E8C 4EAD 02B2 jsr [A5 + 0x2B2 /* export_82 */]
00002E90 2F2D EA82 move.l -[A7], [A5 - 0x157E]
00002E94 A873 syscall SetPort
00002E96 426D E604 clr.w [A5 - 0x19FC]
00002E9A 426D E602 clr.w [A5 - 0x19FE]
00002E9E 486D E602 pea.l [A5 - 0x19FE]
00002EA2 A870 syscall LocalToGlobal
00002EA4 2F2D EA82 move.l -[A7], [A5 - 0x157E]
00002EA8 A914 syscall DisposeWindow
00002EAA 42AD EA82 clr.l [A5 - 0x157E]
label00002EAE:
00002EAE 4E5E unlink A6
00002EB0 4E75 rts
00002EB2 9143 subx.w D0, D3
00002EB4 6C6F bge +0x71 /* 00002F25 */
00002EB6 7365 moveq.l D1, 0x65
00002EB8 5F49 subq.w A1, 7
00002EBA 6E70 bgt +0x72 /* 00002F2C */
00002EBC 7574 moveq.l D2, 0x74
00002EBE 5F4D subq.w A5, 7
00002EC0 6F76 ble +0x78 /* 00002F38 */
00002EC2 6965 bvs +0x67 /* 00002F29 */
00002EC4 0000 4E56 ori.b D0, 0x56 /* 'V' */
00002EC8 FFF2 .invalid <<F/7/7>>
00002ECA 202D EA82 move.l D0, [A5 - 0x157E]
00002ECE B0AE 000C cmp.l D0, [A6 + 0xC]
00002ED2 6636 bne +0x38 /* 00002F0A */
00002ED4 486E FFFC pea.l [A6 - 0x4]
00002ED8 A874 syscall GetPort
00002EDA 2F2D EA82 move.l -[A7], [A5 - 0x157E]
00002EDE A873 syscall SetPort
00002EE0 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002EE4 4EAD 02BA jsr [A5 + 0x2BA /* export_83 */]
00002EE8 206D EA82 movea.l A0, [A5 - 0x157E]
00002EEC 2D68 0010 FFF4 move.l [A6 - 0xC], [A0 + 0x10]
00002EF2 2D68 0014 FFF8 move.l [A6 - 0x8], [A0 + 0x14]
00002EF8 486E FFF4 pea.l [A6 - 0xC]
00002EFC A8A3 syscall EraseRect
00002EFE 486E FFF4 pea.l [A6 - 0xC]
00002F02 A928 syscall InvalRect
00002F04 2EAE FFFC move.l [A7], [A6 - 0x4]
00002F08 A873 syscall SetPort
label00002F0A:
00002F0A 4E5E unlink A6
00002F0C 4E75 rts
00002F0E 9352 sub.w [A2], D1
00002F10 6573 bcs +0x75 /* 00002F85 */
00002F12 697A bvs +0x7C /* 00002F8E */
00002F14 6564 bcs +0x66 /* 00002F7A */
00002F16 5F49 subq.w A1, 7
00002F18 6E70 bgt +0x72 /* 00002F8A */
00002F1A 7574 moveq.l D2, 0x74
00002F1C 5F4D subq.w A5, 7
00002F1E 6F76 ble +0x78 /* 00002F96 */
00002F20 6965 bvs +0x67 /* 00002F87 */
00002F22 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002F24-00002F28
fn00002F24:
00002F24 4E56 FFF2 link A6, -0x000E
// end alternate branch 00002F24-00002F28
fn00002F24: // (misaligned)
00002F26 FFF2 .invalid <<F/7/7>>
00002F28 202D EA82 move.l D0, [A5 - 0x157E]
label00002F2C:
00002F2C B0AE 000C cmp.l D0, [A6 + 0xC]
00002F30 661A bne +0x1C /* 00002F4C */
00002F32 486E FFFC pea.l [A6 - 0x4]
00002F36 A874 syscall GetPort
label00002F38:
00002F38 2F2D EA82 move.l -[A7], [A5 - 0x157E]
00002F3C A873 syscall SetPort
00002F3E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002F42 4EAD 02C2 jsr [A5 + 0x2C2 /* export_84 */]
00002F46 2EAE FFFC move.l [A7], [A6 - 0x4]
00002F4A A873 syscall SetPort
label00002F4C:
00002F4C 4E5E unlink A6
00002F4E 4E75 rts
00002F50 914D subx.w -[A0], -[A5]
00002F52 6F76 ble +0x78 /* 00002FCA */
00002F54 6564 bcs +0x66 /* 00002FBA */
00002F56 5F49 subq.w A1, 7
00002F58 6E70 bgt +0x72 /* 00002FCA */
00002F5A 7574 moveq.l D2, 0x74
00002F5C 5F4D subq.w A5, 7
00002F5E 6F76 ble +0x78 /* 00002FD6 */
00002F60 6965 bvs +0x67 /* 00002FC7 */
00002F62 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00002F64-00002F68
export_22:
fn00002F64:
00002F64 4E56 FFFC link A6, -0x0004
// end alternate branch 00002F64-00002F68
export_22: // at 00002F64 (misaligned)
fn00002F64: // (misaligned)
00002F66 FFFC .invalid <<F/7/7>>
00002F68 4AAD EA82 tst.l [A5 - 0x157E]
00002F6C 6720 beq +0x22 /* 00002F8E */
00002F6E 202D EA82 move.l D0, [A5 - 0x157E]
00002F72 B0AE 0008 cmp.l D0, [A6 + 0x8]
00002F76 6616 bne +0x18 /* 00002F8E */
00002F78 486E FFFC pea.l [A6 - 0x4]
// begin alternate branch 00002F7A-00002F7C
label00002F7A:
00002F7A FFFC .invalid <<F/7/7>>
// end alternate branch 00002F7A-00002F7C
label00002F7A: // (misaligned)
00002F7C A874 syscall GetPort
00002F7E 2F2D EA82 move.l -[A7], [A5 - 0x157E]
00002F82 A873 syscall SetPort
00002F84 4EAD 02CA jsr [A5 + 0x2CA /* export_85 */]
00002F88 2F2E FFFC move.l -[A7], [A6 - 0x4]
// begin alternate branch 00002F8A-00002F8C
label00002F8A:
00002F8A FFFC .invalid <<F/7/7>>
// end alternate branch 00002F8A-00002F8C
label00002F8A: // (misaligned)
00002F8C A873 syscall SetPort
label00002F8E:
00002F8E 4E5E unlink A6
00002F90 4E75 rts
00002F92 9255 sub.w D1, [A5]
00002F94 7064 moveq.l D0, 0x64
label00002F96:
00002F96 6174 bsr +0x76 /* 0000300C */
00002F98 655F bcs +0x61 /* 00002FF9 */
00002F9A 496E 7075 chk.w D4, [A6 + 0x7075]
00002F9E 745F moveq.l D2, 0x5F
00002FA0 4D6F 7669 chk.w D6, [A7 + 0x7669]
00002FA4 6500 0000 bcs +0x2 /* 00002FA6 */
// begin alternate branch 00002FA6-00002FAC
label00002FA6:
00002FA6 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_23: // at 00002FA8 (misaligned)
fn00002FA8: // (misaligned)
00002FAA FFF4 .invalid <<F/7/7>>
// end alternate branch 00002FA6-00002FAC
export_23:
label00002FA6: // (misaligned)
fn00002FA8:
00002FA8 4E56 FFF4 link A6, -0x000C
00002FAC 4AAD EA82 tst.l [A5 - 0x157E]
00002FB0 6664 bne +0x66 /* 00003016 */
00002FB2 4A2D E730 tst.b [A5 - 0x18D0]
00002FB6 6714 beq +0x16 /* 00002FCC */
00002FB8 42A7 clr.l -[A7]
label00002FBA:
00002FBA 3F3C 0108 move.w -[A7], 0x108
00002FBE 42A7 clr.l -[A7]
00002FC0 4878 FFFF push.l 0xFFFF
00002FC4 AA46 syscall GetNewCWindow
00002FC6 2B5F EA82 move.l [A5 - 0x157E], [A7]+
label00002FCA:
00002FCA 6012 bra +0x14 /* 00002FDE */
label00002FCC:
00002FCC 42A7 clr.l -[A7]
00002FCE 3F3C 0108 move.w -[A7], 0x108
00002FD2 42A7 clr.l -[A7]
00002FD4 4878 FFFF push.l 0xFFFF
// begin alternate branch 00002FD6-00002FD8
label00002FD6:
00002FD6 FFFF .invalid <<F/7/7>>
// end alternate branch 00002FD6-00002FD8
label00002FD6: // (misaligned)
00002FD8 A9BD syscall GetNewWindow
00002FDA 2B5F EA82 move.l [A5 - 0x157E], [A7]+
label00002FDE:
00002FDE 2F2D EA82 move.l -[A7], [A5 - 0x157E]
00002FE2 A873 syscall SetPort
00002FE4 2F2D EA82 move.l -[A7], [A5 - 0x157E]
00002FE8 A873 syscall SetPort
00002FEA 426E FFFE clr.w [A6 - 0x2]
00002FEE 426E FFFC clr.w [A6 - 0x4]
00002FF2 486E FFFC pea.l [A6 - 0x4]
00002FF6 A870 syscall LocalToGlobal
00002FF8 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002FFC 2F2D E602 move.l -[A7], [A5 - 0x19FE]
00003000 2F2D EA82 move.l -[A7], [A5 - 0x157E]
00003004 4EBA E650 jsr [PC - 0x19B0 /* 00001656 */]
00003008 4EAD 02D2 jsr [A5 + 0x2D2 /* export_86 */]
fn0000300C:
0000300C 2EAD EA82 move.l [A7], [A5 - 0x157E]
00003010 A915 syscall ShowWindow
00003012 508F addq.l A7, 8
00003014 6006 bra +0x8 /* 0000301C */
label00003016:
00003016 2F2D EA82 move.l -[A7], [A5 - 0x157E]
0000301A A91F syscall SelectWindow
label0000301C:
0000301C 4E5E unlink A6
0000301E 4E75 rts
00003020 904F sub.w D0, A7
00003022 7065 moveq.l D0, 0x65
00003024 6E5F bgt +0x61 /* 00003085 */
00003026 496E 7075 chk.w D4, [A6 + 0x7075]
0000302A 745F moveq.l D2, 0x5F
0000302C 4D6F 7669 chk.w D6, [A7 + 0x7669]
00003030 6500 0000 bcs +0x2 /* 00003032 */
// begin alternate branch 00003032-00003038
label00003032:
00003032 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00003034: // (misaligned)
00003036 FFFC .invalid <<F/7/7>>
// end alternate branch 00003032-00003038
label00003032: // (misaligned)
fn00003034:
00003034 4E56 FFFC link A6, -0x0004
00003038 202D EA82 move.l D0, [A5 - 0x157E]
0000303C B0AE 0008 cmp.l D0, [A6 + 0x8]
00003040 6632 bne +0x34 /* 00003074 */
00003042 486E FFFC pea.l [A6 - 0x4]
00003046 A874 syscall GetPort
00003048 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000304C A873 syscall SetPort
0000304E 4A2E 000C tst.b [A6 + 0xC]
00003052 6610 bne +0x12 /* 00003064 */
00003054 4AAD E624 tst.l [A5 - 0x19DC]
00003058 6706 beq +0x8 /* 00003060 */
0000305A 2F2D E624 move.l -[A7], [A5 - 0x19DC]
0000305E A9D9 syscall TEDeactivate
label00003060:
00003060 42AD E624 clr.l [A5 - 0x19DC]
label00003064:
00003064 1F2E 000C move.b -[A7], [A6 + 0xC]
00003068 4EAD 02DA jsr [A5 + 0x2DA /* export_87 */]
0000306C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003070 A873 syscall SetPort
00003072 548F addq.l A7, 2
label00003074:
00003074 4E5E unlink A6
00003076 4E75 rts
00003078 9441 sub.w D2, D1
0000307A 6374 bls +0x76 /* 000030F0 */
0000307C 6976 bvs +0x78 /* 000030F4 */
0000307E 6174 bsr +0x76 /* 000030F4 */
00003080 655F bcs +0x61 /* 000030E1 */
00003082 496E 7075 chk.w D4, [A6 + 0x7075]
00003086 745F moveq.l D2, 0x5F
00003088 4D6F 7669 chk.w D6, [A7 + 0x7669]
0000308C 6500 0000 bcs +0x2 /* 0000308E */
// begin alternate branch 0000308E-00003094
label0000308E:
0000308E 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00003090: // (misaligned)
00003092 FFF4 .invalid <<F/7/7>>
// end alternate branch 0000308E-00003094
label0000308E: // (misaligned)
fn00003090:
00003090 4E56 FFF4 link A6, -0x000C
00003094 48E7 0108 movem.l -[A7], D7,A4
00003098 286E 0008 movea.l A4, [A6 + 0x8]
0000309C 4267 clr.w -[A7]
0000309E 2F2C 000A move.l -[A7], [A4 + 0xA]
000030A2 486E FFFC pea.l [A6 - 0x4]
000030A6 A92C syscall FindWindow
000030A8 3E1F move.w D7, [A7]+
000030AA 202D EA82 move.l D0, [A5 - 0x157E]
000030AE B0AE FFFC cmp.l D0, [A6 - 0x4]
000030B2 6674 bne +0x76 /* 00003128 */
000030B4 4267 clr.w -[A7]
000030B6 2F2C 000A move.l -[A7], [A4 + 0xA]
000030BA 486E FFFC pea.l [A6 - 0x4]
000030BE A92C syscall FindWindow
000030C0 3E1F move.w D7, [A7]+
000030C2 202D EA82 move.l D0, [A5 - 0x157E]
000030C6 B0AE FFFC cmp.l D0, [A6 - 0x4]
000030CA 6608 bne +0xA /* 000030D4 */
000030CC 2F0C move.l -[A7], A4
000030CE 4EAD 02E2 jsr [A5 + 0x2E2 /* export_88 */]
000030D2 588F addq.l A7, 4
label000030D4:
000030D4 0C54 0001 cmpi.w [A4], 0x1
000030D8 6616 bne +0x18 /* 000030F0 */
000030DA 202D EA82 move.l D0, [A5 - 0x157E]
000030DE B0AE FFFC cmp.l D0, [A6 - 0x4]
000030E2 660C bne +0xE /* 000030F0 */
000030E4 2D6C 000A FFF8 move.l [A6 - 0x8], [A4 + 0xA]
000030EA 486E FFF8 pea.l [A6 - 0x8]
000030EE A871 syscall GlobalToLocal
label000030F0:
000030F0 202D EA82 move.l D0, [A5 - 0x157E]
fn000030F4:
000030F4 B0AE FFFC cmp.l D0, [A6 - 0x4]
000030F8 662E bne +0x30 /* 00003128 */
000030FA 0C47 0003 cmpi.w D7, 0x3
000030FE 6628 bne +0x2A /* 00003128 */
00003100 4267 clr.w -[A7]
00003102 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00003106 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000310A 486E FFF4 pea.l [A6 - 0xC]
0000310E A96C syscall FindControl
00003110 3E1F move.w D7, [A7]+
00003112 4A47 tst.w D7
00003114 6712 beq +0x14 /* 00003128 */
00003116 4267 clr.w -[A7]
00003118 2F2E FFF4 move.l -[A7], [A6 - 0xC]
0000311C 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00003120 4878 FFFF push.l 0xFFFF
00003124 A968 syscall TrackControl
00003126 3E1F move.w D7, [A7]+
label00003128:
00003128 4CDF 1080 movem.l D7,A4, [A7]+
0000312C 4E5E unlink A6
0000312E 4E75 rts
00003130 8E44 or.w D7, D4
00003132 6F5F ble +0x61 /* 00003193 */
00003134 496E 7075 chk.w D4, [A6 + 0x7075]
00003138 745F moveq.l D2, 0x5F
0000313A 4D6F 7669 chk.w D6, [A7 + 0x7669]
0000313E 6500 0000 bcs +0x2 /* 00003140 */
// begin alternate branch 00003140-00003146
label00003140:
00003140 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00003142: // (misaligned)
00003144 FFFC .invalid <<F/7/7>>
// end alternate branch 00003140-00003146
label00003140: // (misaligned)
fn00003142:
00003142 4E56 FFFC link A6, -0x0004
00003146 42A7 clr.l -[A7]
00003148 2F2E 000A move.l -[A7], [A6 + 0xA]
0000314C A95A syscall GetControlReference/GetCRefCon
0000314E 2D5F FFFC move.l [A6 - 0x4], [A7]+
00003152 486E 000E pea.l [A6 + 0xE]
00003156 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000315A 486E FFFC pea.l [A6 - 0x4]
0000315E 4EAD 035A jsr [A5 + 0x35A /* export_103 */]
00003162 202E FFFC move.l D0, [A6 - 0x4]
00003166 4FEF 000A lea.l A7, [A7 + 0xA]
0000316A 6B2A bmi +0x2C /* 00003196 */
0000316C 0480 0000 0257 subi.l D0, 0x257
00003172 6702 beq +0x4 /* 00003176 */
00003174 6020 bra +0x22 /* 00003196 */
label00003176:
00003176 2F2E 000A move.l -[A7], [A6 + 0xA]
0000317A 2F3C 0001 000A move.l -[A7], 0x1000A
00003180 2F3C 0001 0064 move.l -[A7], 0x10064
00003186 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000318A 2F2E 000E move.l -[A7], [A6 + 0xE]
0000318E 4EBA E806 jsr [PC - 0x17FA /* 00001996 */]
00003192 4FEF 0012 lea.l A7, [A7 + 0x12]
label00003196:
00003196 4E5E unlink A6
00003198 4E75 rts
0000319A 8E44 or.w D7, D4
0000319C 6F5F ble +0x61 /* 000031FD */
0000319E 415F chk.w D0, [A7]+
000031A0 5363 subq.w -[A3], 1
000031A2 726F moveq.l D1, 0x6F
000031A4 6C6C bge +0x6E /* 00003212 */
000031A6 4261 clr.w -[A1]
000031A8 7200 moveq.l D1, 0x00
000031AA 0000 42AD ori.b D0, 0xAD
// begin alternate branch 000031AC-000031B0
fn000031AC:
000031AC 42AD EA86 clr.l [A5 - 0x157A]
// end alternate branch 000031AC-000031B0
fn000031AC: // (misaligned)
000031AE EA86 asr D6, 5
000031B0 42AD EB02 clr.l [A5 - 0x14FE]
000031B4 42AD EB06 clr.l [A5 - 0x14FA]
000031B8 3B7C FFFF EB0A move.w [A5 - 0x14F6], 0xFFFF
000031BE 3B7C FFFF EB0C move.w [A5 - 0x14F4], 0xFFFF
000031C4 3B7C FFFF EB0E move.w [A5 - 0x14F2], 0xFFFF
000031CA 3B7C 0006 E608 move.w [A5 - 0x19F8], 0x6
000031D0 3B7C 0033 E606 move.w [A5 - 0x19FA], 0x33 /* '3' */
000031D6 4EAD 031A jsr [A5 + 0x31A /* export_95 */]
000031DA 4E75 rts
fn000031DC:
000031DC 4E56 0000 link A6, 0
000031E0 4AAD EA86 tst.l [A5 - 0x157A]
000031E4 6734 beq +0x36 /* 0000321A */
000031E6 202D EA86 move.l D0, [A5 - 0x157A]
000031EA B0AE 0008 cmp.l D0, [A6 + 0x8]
000031EE 6708 beq +0xA /* 000031F8 */
000031F0 70FF moveq.l D0, 0xFFFFFFFF
000031F2 B0AE 0008 cmp.l D0, [A6 + 0x8]
000031F6 6622 bne +0x24 /* 0000321A */
label000031F8:
000031F8 4EAD 0322 jsr [A5 + 0x322 /* export_96 */]
000031FC 2F2D EA86 move.l -[A7], [A5 - 0x157A]
00003200 A873 syscall SetPort
00003202 426D E608 clr.w [A5 - 0x19F8]
00003206 426D E606 clr.w [A5 - 0x19FA]
0000320A 486D E606 pea.l [A5 - 0x19FA]
0000320E A870 syscall LocalToGlobal
00003210 2F2D EA86 move.l -[A7], [A5 - 0x157A]
// begin alternate branch 00003212-00003214
label00003212:
00003212 EA86 asr D6, 5
// end alternate branch 00003212-00003214
label00003212: // (misaligned)
00003214 A914 syscall DisposeWindow
00003216 42AD EA86 clr.l [A5 - 0x157A]
label0000321A:
0000321A 4E5E unlink A6
0000321C 4E75 rts
0000321E 9543 subx.w D2, D3
00003220 6C6F bge +0x71 /* 00003291 */
00003222 7365 moveq.l D1, 0x65
00003224 5F4D subq.w A5, 7
00003226 6F76 ble +0x78 /* 0000329E */
00003228 6965 bvs +0x67 /* 0000328F */
0000322A 5F50 subq.w [A0], 7
0000322C 6572 bcs +0x74 /* 000032A0 */
0000322E 666F bne +0x71 /* 0000329F */
00003230 726D moveq.l D1, 0x6D
00003232 616E bsr +0x70 /* 000032A2 */
00003234 0000 4E56 ori.b D0, 0x56 /* 'V' */
00003238 FFF2 .invalid <<F/7/7>>
0000323A 202D EA86 move.l D0, [A5 - 0x157A]
0000323E B0AE 000C cmp.l D0, [A6 + 0xC]
00003242 6636 bne +0x38 /* 0000327A */
00003244 486E FFFC pea.l [A6 - 0x4]
00003248 A874 syscall GetPort
0000324A 2F2D EA86 move.l -[A7], [A5 - 0x157A]
0000324E A873 syscall SetPort
00003250 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003254 4EAD 032A jsr [A5 + 0x32A /* export_97 */]
00003258 206D EA86 movea.l A0, [A5 - 0x157A]
0000325C 2D68 0010 FFF4 move.l [A6 - 0xC], [A0 + 0x10]
00003262 2D68 0014 FFF8 move.l [A6 - 0x8], [A0 + 0x14]
00003268 486E FFF4 pea.l [A6 - 0xC]
0000326C A8A3 syscall EraseRect
0000326E 486E FFF4 pea.l [A6 - 0xC]
00003272 A928 syscall InvalRect
00003274 2EAE FFFC move.l [A7], [A6 - 0x4]
00003278 A873 syscall SetPort
label0000327A:
0000327A 4E5E unlink A6
0000327C 4E75 rts
0000327E 9752 sub.w [A2], D3
00003280 6573 bcs +0x75 /* 000032F5 */
00003282 697A bvs +0x7C /* 000032FE */
00003284 6564 bcs +0x66 /* 000032EA */
00003286 5F4D subq.w A5, 7
00003288 6F76 ble +0x78 /* 00003300 */
0000328A 6965 bvs +0x67 /* 000032F1 */
0000328C 5F50 subq.w [A0], 7
0000328E 6572 bcs +0x74 /* 00003302 */
00003290 666F bne +0x71 /* 00003301 */
00003292 726D moveq.l D1, 0x6D
00003294 616E bsr +0x70 /* 00003304 */
00003296 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00003298-0000329C
fn00003298:
00003298 4E56 FFF2 link A6, -0x000E
// end alternate branch 00003298-0000329C
fn00003298: // (misaligned)
0000329A FFF2 .invalid <<F/7/7>>
0000329C 202D EA86 move.l D0, [A5 - 0x157A]
// begin alternate branch 0000329E-000032A0
label0000329E:
0000329E EA86 asr D6, 5
// end alternate branch 0000329E-000032A0
label0000329E: // (misaligned)
label000032A0:
000032A0 B0AE 000C cmp.l D0, [A6 + 0xC]
// begin alternate branch 000032A2-000032A6
fn000032A2:
000032A2 000C 661A ori.b A4, 0x1A
// end alternate branch 000032A2-000032A6
fn000032A2: // (misaligned)
000032A4 661A bne +0x1C /* 000032C0 */
000032A6 486E FFFC pea.l [A6 - 0x4]
000032AA A874 syscall GetPort
000032AC 2F2D EA86 move.l -[A7], [A5 - 0x157A]
000032B0 A873 syscall SetPort
000032B2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000032B6 4EAD 0332 jsr [A5 + 0x332 /* export_98 */]
000032BA 2EAE FFFC move.l [A7], [A6 - 0x4]
000032BE A873 syscall SetPort
label000032C0:
000032C0 4E5E unlink A6
000032C2 4E75 rts
000032C4 954D subx.w -[A2], -[A5]
000032C6 6F76 ble +0x78 /* 0000333E */
000032C8 6564 bcs +0x66 /* 0000332E */
000032CA 5F4D subq.w A5, 7
000032CC 6F76 ble +0x78 /* 00003344 */
000032CE 6965 bvs +0x67 /* 00003335 */
000032D0 5F50 subq.w [A0], 7
000032D2 6572 bcs +0x74 /* 00003346 */
000032D4 666F bne +0x71 /* 00003345 */
000032D6 726D moveq.l D1, 0x6D
000032D8 616E bsr +0x70 /* 00003348 */
000032DA 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 000032DC-000032E0
fn000032DC:
000032DC 4E56 FFEA link A6, -0x0016
// end alternate branch 000032DC-000032E0
fn000032DC: // (misaligned)
000032DE FFEA .invalid <<F/7/7>>
000032E0 4AAD EA86 tst.l [A5 - 0x157A]
000032E4 6700 014C beq +0x14E /* 00003432 */
000032E8 202D EA86 move.l D0, [A5 - 0x157A]
// begin alternate branch 000032EA-000032EC
label000032EA:
000032EA EA86 asr D6, 5
// end alternate branch 000032EA-000032EC
label000032EA: // (misaligned)
000032EC B0AE 0008 cmp.l D0, [A6 + 0x8]
000032F0 6600 0140 bne +0x142 /* 00003432 */
000032F4 486E FFFC pea.l [A6 - 0x4]
000032F8 A874 syscall GetPort
000032FA 2F2D EA86 move.l -[A7], [A5 - 0x157A]
label000032FE:
000032FE A873 syscall SetPort
label00003300:
00003300 4A2D E730 tst.b [A5 - 0x18D0]
// begin alternate branch 00003302-00003304
label00003302:
00003302 E730 roxl D0.b, D3
// end alternate branch 00003302-00003304
label00003302: // (misaligned)
fn00003304:
00003304 6718 beq +0x1A /* 0000331E */
00003306 486E FFF6 pea.l [A6 - 0xA]
0000330A AA19 syscall GetForeColor
0000330C 486E FFF0 pea.l [A6 - 0x10]
00003310 AA1A syscall GetBackColor
00003312 486D E73A pea.l [A5 - 0x18C6]
00003316 AA14 syscall RGBForeColor
00003318 486D E740 pea.l [A5 - 0x18C0]
0000331C AA15 syscall RGBBackColor
label0000331E:
0000331E 3F3C 000A move.w -[A7], 0xA /* '\n' */
00003322 A88A syscall TextSize
00003324 3F3C 0002 move.w -[A7], 0x2
00003328 A887 syscall TextFont
0000332A 486D E628 pea.l [A5 - 0x19D8]
label0000332E:
0000332E 2F3C 0014 0091 move.l -[A7], 0x140091
00003334 2F3C 002D 0154 move.l -[A7], 0x2D0154
0000333A A8A7 syscall SetRect
0000333C 486D E630 pea.l [A5 - 0x19D0]
// begin alternate branch 0000333E-00003340
label0000333E:
0000333E E630 roxr D0.b, D3
// end alternate branch 0000333E-00003340
label0000333E: // (misaligned)
00003340 2F3C 0001 0226 move.l -[A7], 0x10226
// begin alternate branch 00003344-00003348
label00003344:
00003344 0226 4EBA andi.b -[A6], 0xBA
// end alternate branch 00003344-00003348
label00003344: // (misaligned)
label00003346:
00003346 4EBA D272 jsr [PC - 0x2D8E /* 000005BA */]
// begin alternate branch 00003348-0000334E
fn00003348:
00003348 D272 486D add.w D1, [A2 + D4 + 0x6D]
0000334C E631 roxr D1.b, D3
// end alternate branch 00003348-0000334E
fn00003348: // (misaligned)
0000334A 486D E631 pea.l [A5 - 0x19CF]
0000334E 7000 moveq.l D0, 0x00
00003350 102D E630 move.b D0, [A5 - 0x19D0]
00003354 2F00 move.l -[A7], D0
00003356 486D E628 pea.l [A5 - 0x19D8]
0000335A 4267 clr.w -[A7]
0000335C A9CE syscall TETextBox/TextBox
0000335E 486D E628 pea.l [A5 - 0x19D8]
00003362 2F3C 0014 0005 move.l -[A7], 0x140005
00003368 2F3C 0023 008C move.l -[A7], 0x23008C
0000336E A8A7 syscall SetRect
00003370 486D E630 pea.l [A5 - 0x19D0]
00003374 2F3C 0001 0252 move.l -[A7], 0x10252
0000337A 4EBA D23E jsr [PC - 0x2DC2 /* 000005BA */]
0000337E 486D E631 pea.l [A5 - 0x19CF]
00003382 7000 moveq.l D0, 0x00
00003384 102D E630 move.b D0, [A5 - 0x19D0]
00003388 2F00 move.l -[A7], D0
0000338A 486D E628 pea.l [A5 - 0x19D8]
0000338E 4267 clr.w -[A7]
00003390 A9CE syscall TETextBox/TextBox
00003392 486D E628 pea.l [A5 - 0x19D8]
00003396 2F3C 0005 0091 move.l -[A7], 0x50091
0000339C 2F3C 0014 0154 move.l -[A7], 0x140154
000033A2 A8A7 syscall SetRect
000033A4 486D E630 pea.l [A5 - 0x19D0]
000033A8 2F3C 0001 0251 move.l -[A7], 0x10251
000033AE 4EBA D20A jsr [PC - 0x2DF6 /* 000005BA */]
000033B2 486D E631 pea.l [A5 - 0x19CF]
000033B6 7000 moveq.l D0, 0x00
000033B8 102D E630 move.b D0, [A5 - 0x19D0]
000033BC 2F00 move.l -[A7], D0
000033BE 486D E628 pea.l [A5 - 0x19D8]
000033C2 4267 clr.w -[A7]
000033C4 A9CE syscall TETextBox/TextBox
000033C6 486D E628 pea.l [A5 - 0x19D8]
000033CA 2F3C 0005 0005 move.l -[A7], 0x50005
000033D0 2F3C 0014 0069 move.l -[A7], 0x140069
000033D6 A8A7 syscall SetRect
000033D8 486D E630 pea.l [A5 - 0x19D0]
000033DC 2F3C 0001 0250 move.l -[A7], 0x10250
000033E2 4EBA D1D6 jsr [PC - 0x2E2A /* 000005BA */]
000033E6 486D E631 pea.l [A5 - 0x19CF]
000033EA 7000 moveq.l D0, 0x00
000033EC 102D E630 move.b D0, [A5 - 0x19D0]
000033F0 2F00 move.l -[A7], D0
000033F2 486D E628 pea.l [A5 - 0x19D8]
000033F6 4267 clr.w -[A7]
000033F8 A9CE syscall TETextBox/TextBox
000033FA 2F3C 0037 0005 move.l -[A7], 0x370005
00003400 A893 syscall MoveTo
00003402 2F3C 0037 01E4 move.l -[A7], 0x3701E4
00003408 A891 syscall LineTo
0000340A 4A2D E730 tst.b [A5 - 0x18D0]
0000340E 670C beq +0xE /* 0000341C */
00003410 486E FFF6 pea.l [A6 - 0xA]
00003414 AA14 syscall RGBForeColor
00003416 486E FFF0 pea.l [A6 - 0x10]
0000341A AA15 syscall RGBBackColor
label0000341C:
0000341C 3F3C 000C move.w -[A7], 0xC
00003420 A88A syscall TextSize
00003422 3F3C 0001 move.w -[A7], 0x1
00003426 A887 syscall TextFont
00003428 4EAD 033A jsr [A5 + 0x33A /* export_99 */]
0000342C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003430 A873 syscall SetPort
label00003432:
00003432 4E5E unlink A6
00003434 4E75 rts
00003436 9655 sub.w D3, [A5]
00003438 7064 moveq.l D0, 0x64
0000343A 6174 bsr +0x76 /* 000034B0 */
0000343C 655F bcs +0x61 /* 0000349D */
0000343E 4D6F 7669 chk.w D6, [A7 + 0x7669]
00003442 655F bcs +0x61 /* 000034A3 */
00003444 5065 addq.w -[A5], 8
00003446 7266 moveq.l D1, 0x66
00003448 6F72 ble +0x74 /* 000034BC */
0000344A 6D61 blt +0x63 /* 000034AD */
0000344C 6E00 0000 bgt +0x2 /* 0000344E */
// begin alternate branch 0000344E-00003454
label0000344E:
0000344E 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00003450: // (misaligned)
00003452 FFF8 .invalid <<F/7/7>>
// end alternate branch 0000344E-00003454
label0000344E: // (misaligned)
fn00003450:
00003450 4E56 FFF8 link A6, -0x0008
00003454 2F07 move.l -[A7], D7
00003456 4AAD EA86 tst.l [A5 - 0x157A]
0000345A 6600 00E2 bne +0xE4 /* 0000353E */
0000345E 4A2D E730 tst.b [A5 - 0x18D0]
00003462 6714 beq +0x16 /* 00003478 */
00003464 42A7 clr.l -[A7]
00003466 3F3C 0105 move.w -[A7], 0x105
0000346A 42A7 clr.l -[A7]
0000346C 4878 FFFF push.l 0xFFFF
00003470 AA46 syscall GetNewCWindow
00003472 2B5F EA86 move.l [A5 - 0x157A], [A7]+
00003476 6012 bra +0x14 /* 0000348A */
label00003478:
00003478 42A7 clr.l -[A7]
0000347A 3F3C 0105 move.w -[A7], 0x105
0000347E 42A7 clr.l -[A7]
00003480 4878 FFFF push.l 0xFFFF
00003484 A9BD syscall GetNewWindow
00003486 2B5F EA86 move.l [A5 - 0x157A], [A7]+
label0000348A:
0000348A 2F2D EA86 move.l -[A7], [A5 - 0x157A]
0000348E A873 syscall SetPort
00003490 42A7 clr.l -[A7]
00003492 3F3C 0254 move.w -[A7], 0x254
00003496 2F2D EA86 move.l -[A7], [A5 - 0x157A]
0000349A A9BE syscall GetNewControl
0000349C 2B5F EA8A move.l [A5 - 0x1576], [A7]+
000034A0 42A7 clr.l -[A7]
000034A2 3F3C 0253 move.w -[A7], 0x253
000034A6 2F2D EA86 move.l -[A7], [A5 - 0x157A]
000034AA A9BE syscall GetNewControl
000034AC 2B5F EA8E move.l [A5 - 0x1572], [A7]+
fn000034B0:
000034B0 42A7 clr.l -[A7]
000034B2 3F3C 0256 move.w -[A7], 0x256
000034B6 2F2D EA86 move.l -[A7], [A5 - 0x157A]
000034BA A9BE syscall GetNewControl
label000034BC:
000034BC 2B5F EA96 move.l [A5 - 0x156A], [A7]+
000034C0 2F2D EA96 move.l -[A7], [A5 - 0x156A]
000034C4 A958 syscall HideControl
000034C6 7E00 moveq.l D7, 0x00
000034C8 0687 0000 0100 addi.l D7, 0x100
000034CE 5287 addq.l D7, 1
000034D0 206D EA96 movea.l A0, [A5 - 0x156A]
000034D4 2050 movea.l A0, [A0]
000034D6 2147 001C move.l [A0 + 0x1C], D7
000034DA 206D EA96 movea.l A0, [A5 - 0x156A]
000034DE 2050 movea.l A0, [A0]
000034E0 2B68 0008 EA9A move.l [A5 - 0x1566], [A0 + 0x8]
000034E6 2B68 000C EA9E move.l [A5 - 0x1562], [A0 + 0xC]
000034EC 2F2D EA96 move.l -[A7], [A5 - 0x156A]
000034F0 A957 syscall ShowControl
000034F2 42A7 clr.l -[A7]
000034F4 3F3C 0257 move.w -[A7], 0x257
000034F8 2F2D EA86 move.l -[A7], [A5 - 0x157A]
000034FC A9BE syscall GetNewControl
000034FE 2B5F EA92 move.l [A5 - 0x156E], [A7]+
00003502 2F2D EA92 move.l -[A7], [A5 - 0x156E]
00003506 3F3C 0001 move.w -[A7], 0x1
0000350A A963 syscall SetControlValue/SetCtlValue
0000350C 2F2D EA86 move.l -[A7], [A5 - 0x157A]
00003510 A873 syscall SetPort
00003512 426E FFFE clr.w [A6 - 0x2]
00003516 426E FFFC clr.w [A6 - 0x4]
0000351A 486E FFFC pea.l [A6 - 0x4]
0000351E A870 syscall LocalToGlobal
00003520 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003524 2F2D E606 move.l -[A7], [A5 - 0x19FA]
00003528 2F2D EA86 move.l -[A7], [A5 - 0x157A]
0000352C 4EBA E128 jsr [PC - 0x1ED8 /* 00001656 */]
00003530 4EAD 0342 jsr [A5 + 0x342 /* export_100 */]
00003534 2EAD EA86 move.l [A7], [A5 - 0x157A]
00003538 A915 syscall ShowWindow
0000353A 508F addq.l A7, 8
0000353C 6006 bra +0x8 /* 00003544 */
label0000353E:
0000353E 2F2D EA86 move.l -[A7], [A5 - 0x157A]
00003542 A91F syscall SelectWindow
label00003544:
00003544 2E1F move.l D7, [A7]+
00003546 4E5E unlink A6
00003548 4E75 rts
0000354A 944F sub.w D2, A7
0000354C 7065 moveq.l D0, 0x65
0000354E 6E5F bgt +0x61 /* 000035AF */
00003550 4D6F 7669 chk.w D6, [A7 + 0x7669]
00003554 655F bcs +0x61 /* 000035B5 */
00003556 5065 addq.w -[A5], 8
00003558 7266 moveq.l D1, 0x66
0000355A 6F72 ble +0x74 /* 000035CE */
0000355C 6D61 blt +0x63 /* 000035BF */
0000355E 6E00 0000 bgt +0x2 /* 00003560 */
// begin alternate branch 00003560-00003566
label00003560:
00003560 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn00003562: // (misaligned)
00003564 FFFC .invalid <<F/7/7>>
// end alternate branch 00003560-00003566
label00003560: // (misaligned)
fn00003562:
00003562 4E56 FFFC link A6, -0x0004
00003566 202D EA86 move.l D0, [A5 - 0x157A]
0000356A B0AE 0008 cmp.l D0, [A6 + 0x8]
0000356E 6632 bne +0x34 /* 000035A2 */
00003570 486E FFFC pea.l [A6 - 0x4]
00003574 A874 syscall GetPort
00003576 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000357A A873 syscall SetPort
0000357C 4A2E 000C tst.b [A6 + 0xC]
00003580 6610 bne +0x12 /* 00003592 */
00003582 4AAD E624 tst.l [A5 - 0x19DC]
00003586 6706 beq +0x8 /* 0000358E */
00003588 2F2D E624 move.l -[A7], [A5 - 0x19DC]
0000358C A9D9 syscall TEDeactivate
label0000358E:
0000358E 42AD E624 clr.l [A5 - 0x19DC]
label00003592:
00003592 1F2E 000C move.b -[A7], [A6 + 0xC]
00003596 4EAD 034A jsr [A5 + 0x34A /* export_101 */]
0000359A 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000359E A873 syscall SetPort
000035A0 548F addq.l A7, 2
label000035A2:
000035A2 4E5E unlink A6
000035A4 4E75 rts
000035A6 9841 sub.w D4, D1
000035A8 6374 bls +0x76 /* 0000361E */
000035AA 6976 bvs +0x78 /* 00003622 */
000035AC 6174 bsr +0x76 /* 00003622 */
000035AE 655F bcs +0x61 /* 0000360F */
000035B0 4D6F 7669 chk.w D6, [A7 + 0x7669]
000035B4 655F bcs +0x61 /* 00003615 */
000035B6 5065 addq.w -[A5], 8
000035B8 7266 moveq.l D1, 0x66
000035BA 6F72 ble +0x74 /* 0000362E */
000035BC 6D61 blt +0x63 /* 0000361F */
000035BE 6E00 0000 bgt +0x2 /* 000035C0 */
// begin alternate branch 000035C0-000035C6
label000035C0:
000035C0 0000 4E56 ori.b D0, 0x56 /* 'V' */
fn000035C2: // (misaligned)
000035C4 FFFE .invalid <<F/7/7>>
// end alternate branch 000035C0-000035C6
label000035C0: // (misaligned)
fn000035C2:
000035C2 4E56 FFFE link A6, -0x0002
000035C6 48E7 0108 movem.l -[A7], D7,A4
000035CA 286E 0008 movea.l A4, [A6 + 0x8]
label000035CE:
000035CE 2F0C move.l -[A7], A4
000035D0 3F3C 000A move.w -[A7], 0xA /* '\n' */
000035D4 A95D syscall HiliteControl
000035D6 426E FFFE clr.w [A6 - 0x2]
000035DA 42A7 clr.l -[A7]
000035DC 2F0C move.l -[A7], A4
000035DE A95A syscall GetControlReference/GetCRefCon
000035E0 2E1F move.l D7, [A7]+
000035E2 2007 move.l D0, D7
000035E4 6B0C bmi +0xE /* 000035F2 */
000035E6 0480 0000 0254 subi.l D0, 0x254
000035EC 6704 beq +0x6 /* 000035F2 */
000035EE 6A02 bpl +0x4 /* 000035F2 */
000035F0 5280 addq.l D0, 1
label000035F2:
000035F2 486E FFFE pea.l [A6 - 0x2]
000035F6 2F0C move.l -[A7], A4
000035F8 2F07 move.l -[A7], D7
000035FA 4EAD 0352 jsr [A5 + 0x352 /* export_102 */]
000035FE 2E8C move.l [A7], A4
00003600 3F2E FFFE move.w -[A7], [A6 - 0x2]
00003604 A95D syscall HiliteControl
00003606 4CEE 1080 FFF6 movem.l D7,A4, [A6 - 0xA]
0000360C 4E5E unlink A6
0000360E 4E75 rts
00003610 8B44 6F5F pack D5, D4, 0x6F5F
00003614 415F chk.w D0, [A7]+
00003616 4275 7474 clr.w [A5 + D7.w * 4 + 0x74]
0000361A 6F6E ble +0x70 /* 0000368A */
0000361C 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000361E-00003622
fn0000361E:
0000361E 4E56 FFF4 link A6, -0x000C
// end alternate branch 0000361E-00003622
fn0000361E: // (misaligned)
00003620 FFF4 .invalid <<F/7/7>>
fn00003622:
00003622 48E7 0108 movem.l -[A7], D7,A4
00003626 286E 0008 movea.l A4, [A6 + 0x8]
0000362A 4267 clr.w -[A7]
0000362C 2F2C 000A move.l -[A7], [A4 + 0xA]
// begin alternate branch 0000362E-00003634
label0000362E:
0000362E 000A 486E ori.b A2, 0x6E /* 'n' */
00003632 FFFC .invalid <<F/7/7>>
// end alternate branch 0000362E-00003634
label0000362E: // (misaligned)
00003630 486E FFFC pea.l [A6 - 0x4]
00003634 A92C syscall FindWindow
00003636 3E1F move.w D7, [A7]+
00003638 202D EA86 move.l D0, [A5 - 0x157A]
0000363C B0AE FFFC cmp.l D0, [A6 - 0x4]
00003640 6600 00B8 bne +0xBA /* 000036FA */
00003644 4267 clr.w -[A7]
00003646 2F2C 000A move.l -[A7], [A4 + 0xA]
0000364A 486E FFFC pea.l [A6 - 0x4]
0000364E A92C syscall FindWindow
00003650 3E1F move.w D7, [A7]+
00003652 202D EA86 move.l D0, [A5 - 0x157A]
00003656 B0AE FFFC cmp.l D0, [A6 - 0x4]
0000365A 6608 bne +0xA /* 00003664 */
0000365C 2F0C move.l -[A7], A4
0000365E 4EAD 0362 jsr [A5 + 0x362 /* export_104 */]
00003662 588F addq.l A7, 4
label00003664:
00003664 0C54 0001 cmpi.w [A4], 0x1
00003668 6616 bne +0x18 /* 00003680 */
0000366A 202D EA86 move.l D0, [A5 - 0x157A]
0000366E B0AE FFFC cmp.l D0, [A6 - 0x4]
00003672 660C bne +0xE /* 00003680 */
00003674 2D6C 000A FFF8 move.l [A6 - 0x8], [A4 + 0xA]
0000367A 486E FFF8 pea.l [A6 - 0x8]
0000367E A871 syscall GlobalToLocal
label00003680:
00003680 202D EA86 move.l D0, [A5 - 0x157A]
00003684 B0AE FFFC cmp.l D0, [A6 - 0x4]
00003688 6670 bne +0x72 /* 000036FA */
label0000368A:
0000368A 0C47 0003 cmpi.w D7, 0x3
0000368E 666A bne +0x6C /* 000036FA */
00003690 4267 clr.w -[A7]
00003692 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00003696 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000369A 486E FFF4 pea.l [A6 - 0xC]
0000369E A96C syscall FindControl
000036A0 3E1F move.w D7, [A7]+
000036A2 0C47 0014 cmpi.w D7, 0x14
000036A6 6718 beq +0x1A /* 000036C0 */
000036A8 0C47 0015 cmpi.w D7, 0x15
000036AC 6712 beq +0x14 /* 000036C0 */
000036AE 0C47 0081 cmpi.w D7, 0x81
000036B2 670C beq +0xE /* 000036C0 */
000036B4 0C47 0017 cmpi.w D7, 0x17
000036B8 6706 beq +0x8 /* 000036C0 */
000036BA 0C47 0016 cmpi.w D7, 0x16
000036BE 6614 bne +0x16 /* 000036D4 */
label000036C0:
000036C0 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000036C4 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000036C8 3F07 move.w -[A7], D7
000036CA 4EBA FA76 jsr [PC - 0x58A /* 00003142 */]
000036CE 4FEF 000A lea.l A7, [A7 + 0xA]
000036D2 6016 bra +0x18 /* 000036EA */
label000036D4:
000036D4 4A47 tst.w D7
000036D6 6712 beq +0x14 /* 000036EA */
000036D8 4267 clr.w -[A7]
000036DA 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000036DE 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000036E2 4878 FFFF push.l 0xFFFF
000036E6 A968 syscall TrackControl
000036E8 3E1F move.w D7, [A7]+
label000036EA:
000036EA 0C47 000A cmpi.w D7, 0xA /* '\n' */
000036EE 660A bne +0xC /* 000036FA */
000036F0 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000036F4 4EBA FECC jsr [PC - 0x134 /* 000035C2 */]
000036F8 588F addq.l A7, 4
label000036FA:
000036FA 4CDF 1080 movem.l D7,A4, [A7]+
000036FE 4E5E unlink A6
00003700 4E75 rts
00003702 9244 sub.w D1, D4
00003704 6F5F ble +0x61 /* 00003765 */
00003706 4D6F 7669 chk.w D6, [A7 + 0x7669]
0000370A 655F bcs +0x61 /* 0000376B */
0000370C 5065 addq.w -[A5], 8
0000370E 7266 moveq.l D1, 0x66
00003710 6F72 ble +0x74 /* 00003784 */
00003712 6D61 blt +0x63 /* 00003775 */
00003714 6E00 0000 bgt +0x2 /* 00003716 */